top | up | prev | next

Warning Class

Definition at line 19 of Warning.hpp

Constructors

Warning(const std::u32string& project_, const std::string& message_)

Member Functions

const Span& Defined() const
const std::string& Message() const
const std::u32string& Project() const
const std::vector<std::pair<Span, boost::uuids::uuid>>& References() const
void SetDefined(const Span& defined_, const boost::uuids::uuid& definedModuleId_)
void SetReferences(const std::vector<std::pair<Span, boost::uuids::uuid>>& references_)

Member Variables

Span defined
boost::uuids::uuid definedModuleId
std::string message
std::u32string project
std::vector<std::pair<Span, boost::uuids::uuid>> references

Constructor Details

Warning Constructor

cmajor::symbols::Warning::Warning(const std::u32string& project_, const std::string& message_)

Definition at line 15 of Warning.cpp :
15 : project(project_)message(message_)
16 {
17 }


Declaration at line 22 of Warning.hpp


Member Function Details

Defined Member Function

const Span & cmajor::symbols::Warning::Defined() const

Definition at line 25 of Warning.hpp :
25 { return defined; }


Message Member Function

const std::string& cmajor::symbols::Warning::Message() const

Definition at line 24 of Warning.hpp :
24 { return message; }

Called by: cmajor::symbols::Module::CheckUpToDate


Project Member Function

const std::u32string& cmajor::symbols::Warning::Project() const

Definition at line 23 of Warning.hpp :
23 { return project; }


References Member Function

const std::vector<std::pair<Span , boost::uuids::uuid>>& cmajor::symbols::Warning::References() const

Definition at line 27 of Warning.hpp :
27 { return references; }


SetDefined Member Function

void cmajor::symbols::Warning::SetDefined(const Span & defined_, const boost::uuids::uuid& definedModuleId_)

Definition at line 26 of Warning.hpp :
26 { defined = defined_; definedModuleId = definedModuleId_; }


SetReferences Member Function

void cmajor::symbols::Warning::SetReferences(const std::vector<std::pair<Span, boost::uuids::uuid>>& references_)

Definition at line 19 of Warning.cpp :
20 {
21     references = references_;
22 }



top | up | prev | next