top | up | prev | next

SymbolCollector Class

Definition at line 32 of SymbolCollector.hpp

Constructors

SymbolCollector()

Member Functions

void AddBasicType(BasicTypeSymbol* basicType)
void AddClass(ClassTypeSymbol* class_)
void AddClassDelegate(ClassDelegateTypeSymbol* classDelegate)
void AddConcept(ConceptSymbol* conceptSymbol)
void AddConstant(ConstantSymbol* constant)
void AddDelegate(DelegateTypeSymbol* delegate)
void AddEnumeratedType(EnumTypeSymbol* enumType)
void AddEnumerationConstant(EnumConstantSymbol* enumConstant)
void AddFunction(FunctionSymbol* function)
void AddGlobalVariable(GlobalVariableSymbol* globalVariable)
void AddInterface(InterfaceTypeSymbol* interface_)
void AddMemberVariable(MemberVariableSymbol* memberVariable)
void AddTypedef(TypedefSymbol* typedef_)
const std::vector<BasicTypeSymbol*>& BasicTypes() const
const std::vector<ClassDelegateTypeSymbol*>& ClassDelegates() const
const std::vector<ClassTypeSymbol*>& Classes() const
const std::vector<ConceptSymbol*>& Concepts() const
const std::vector<ConstantSymbol*>& Constants() const
const std::vector<DelegateTypeSymbol*>& Delegates() const
const std::vector<EnumTypeSymbol*>& EnumeratedTypes() const
const std::vector<EnumConstantSymbol*>& EnumerationConstants() const
const std::vector<FunctionSymbol*>& Functions() const
const std::vector<InterfaceTypeSymbol*>& Interfaces() const
bool IsEmpty() const
const std::vector<MemberVariableSymbol*>& MemberVariables() const
void SortByDocName()
void SortByFullName()
const std::vector<TypedefSymbol*>& Typedefs() const

Member Variables

std::vector<BasicTypeSymbol*> basicTypes
std::vector<ClassDelegateTypeSymbol*> classDelegates
std::vector<ClassTypeSymbol*> classes
std::vector<ConceptSymbol*> concepts
std::vector<ConstantSymbol*> constants
std::vector<DelegateTypeSymbol*> delegates
std::vector<EnumTypeSymbol*> enumeratedTypes
std::vector<EnumConstantSymbol*> enumerationConstants
std::vector<FunctionSymbol*> functions
std::vector<GlobalVariableSymbol*> globalVariables
std::vector<InterfaceTypeSymbol*> interfaces
std::vector<MemberVariableSymbol*> memberVariables
std::vector<TypedefSymbol*> typedefs

Constructor Details

SymbolCollector Constructor

cmajor::symbols::SymbolCollector::SymbolCollector()

Definition at line 11 of SymbolCollector.cpp :
 12 {
 13 }


Declaration at line 35 of SymbolCollector.hpp


Member Function Details

AddBasicType Member Function

void cmajor::symbols::SymbolCollector::AddBasicType(BasicTypeSymbol * basicType)

Definition at line 15 of SymbolCollector.cpp :
 16 {
 17     basicTypes.push_back(basicType);
 18 }


Declaration at line 36 of SymbolCollector.hpp

Called by: cmajor::symbols::BasicTypeSymbol::Accept


AddClass Member Function

void cmajor::symbols::SymbolCollector::AddClass(ClassTypeSymbol * class_)

Definition at line 20 of SymbolCollector.cpp :
 21 {
 22     classes.push_back(class_);
 23 }


Declaration at line 37 of SymbolCollector.hpp

Called by: cmajor::symbols::ClassTypeSymbol::Accept


AddClassDelegate Member Function

void cmajor::symbols::SymbolCollector::AddClassDelegate(ClassDelegateTypeSymbol * classDelegate)

Definition at line 40 of SymbolCollector.cpp :
 41 {
 42     classDelegates.push_back(classDelegate);
 43 }


Declaration at line 41 of SymbolCollector.hpp

Called by: cmajor::symbols::ClassDelegateTypeSymbol::Accept


AddConcept Member Function

void cmajor::symbols::SymbolCollector::AddConcept(ConceptSymbol * conceptSymbol)

Definition at line 25 of SymbolCollector.cpp :
 26 {
 27     concepts.push_back(conceptSymbol);
 28 }


Declaration at line 38 of SymbolCollector.hpp

Called by: cmajor::symbols::ConceptSymbol::Accept


AddConstant Member Function

void cmajor::symbols::SymbolCollector::AddConstant(ConstantSymbol * constant)

Definition at line 30 of SymbolCollector.cpp :
 31 {
 32     constants.push_back(constant);
 33 }


Declaration at line 39 of SymbolCollector.hpp

Called by: cmajor::symbols::ConstantSymbol::Accept


AddDelegate Member Function

void cmajor::symbols::SymbolCollector::AddDelegate(DelegateTypeSymbol * delegate)

Definition at line 35 of SymbolCollector.cpp :
 36 {
 37     delegates.push_back(delegate);
 38 }


Declaration at line 40 of SymbolCollector.hpp

Called by: cmajor::symbols::DelegateTypeSymbol::Accept


AddEnumeratedType Member Function

void cmajor::symbols::SymbolCollector::AddEnumeratedType(EnumTypeSymbol * enumType)

Definition at line 45 of SymbolCollector.cpp :
 46 {
 47     enumeratedTypes.push_back(enumType);
 48 }


Declaration at line 42 of SymbolCollector.hpp

Called by: cmajor::symbols::EnumTypeSymbol::Accept


AddEnumerationConstant Member Function

void cmajor::symbols::SymbolCollector::AddEnumerationConstant(EnumConstantSymbol * enumConstant)

Definition at line 50 of SymbolCollector.cpp :
 51 {
 52     enumerationConstants.push_back(enumConstant);
 53 }


Declaration at line 43 of SymbolCollector.hpp

Called by: cmajor::symbols::EnumConstantSymbol::Accept


AddFunction Member Function

void cmajor::symbols::SymbolCollector::AddFunction(FunctionSymbol * function)

Definition at line 55 of SymbolCollector.cpp :
 56 {
 57     functions.push_back(function);
 58 }


Declaration at line 44 of SymbolCollector.hpp

Called by: cmajor::symbols::FunctionSymbol::Accept


AddGlobalVariable Member Function

void cmajor::symbols::SymbolCollector::AddGlobalVariable(GlobalVariableSymbol * globalVariable)

Definition at line 75 of SymbolCollector.cpp :
 76 {
 77     globalVariables.push_back(globalVariable);
 78 }


Declaration at line 48 of SymbolCollector.hpp

Called by: cmajor::symbols::GlobalVariableSymbol::Accept


AddInterface Member Function

void cmajor::symbols::SymbolCollector::AddInterface(InterfaceTypeSymbol * interface_)

Definition at line 60 of SymbolCollector.cpp :
 61 {
 62     interfaces.push_back(interface_);
 63 }


Declaration at line 45 of SymbolCollector.hpp

Called by: cmajor::symbols::InterfaceTypeSymbol::Accept


AddMemberVariable Member Function

void cmajor::symbols::SymbolCollector::AddMemberVariable(MemberVariableSymbol * memberVariable)

Definition at line 70 of SymbolCollector.cpp :
 71 {
 72     memberVariables.push_back(memberVariable);
 73 }


Declaration at line 47 of SymbolCollector.hpp

Called by: cmajor::symbols::MemberVariableSymbol::Accept


AddTypedef Member Function

void cmajor::symbols::SymbolCollector::AddTypedef(TypedefSymbol * typedef_)

Definition at line 65 of SymbolCollector.cpp :
 66 {
 67     typedefs.push_back(typedef_);
 68 }


Declaration at line 46 of SymbolCollector.hpp

Called by: cmajor::symbols::TypedefSymbol::Accept


BasicTypes Member Function

const std::vector<BasicTypeSymbol *>& cmajor::symbols::SymbolCollector::BasicTypes() const

Definition at line 51 of SymbolCollector.hpp :
51 { return basicTypes; }

Called by: cmajor::symbols::Module::Dump


ClassDelegates Member Function

const std::vector<ClassDelegateTypeSymbol *>& cmajor::symbols::SymbolCollector::ClassDelegates() const

Definition at line 58 of SymbolCollector.hpp :
58 { return classDelegates; }

Called by: cmajor::symbols::ClassTypeSymbol::Dump , cmajor::symbols::Module::Dump


Classes Member Function

const std::vector<ClassTypeSymbol *>& cmajor::symbols::SymbolCollector::Classes() const

Definition at line 52 of SymbolCollector.hpp :
52 { return classes; }

Called by: cmajor::symbols::ClassTypeSymbol::Dump , cmajor::symbols::Module::Dump


Concepts Member Function

const std::vector<ConceptSymbol *>& cmajor::symbols::SymbolCollector::Concepts() const

Definition at line 56 of SymbolCollector.hpp :
56 { return concepts; }

Called by: cmajor::symbols::ClassTypeSymbol::Dump , cmajor::symbols::Module::Dump


Constants Member Function

const std::vector<ConstantSymbol *>& cmajor::symbols::SymbolCollector::Constants() const

Definition at line 59 of SymbolCollector.hpp :
59 { return constants; }

Called by: cmajor::symbols::ClassTypeSymbol::Dump , cmajor::symbols::Module::Dump


Delegates Member Function

const std::vector<DelegateTypeSymbol *>& cmajor::symbols::SymbolCollector::Delegates() const

Definition at line 57 of SymbolCollector.hpp :
57 { return delegates; }

Called by: cmajor::symbols::ClassTypeSymbol::Dump , cmajor::symbols::Module::Dump


EnumeratedTypes Member Function

const std::vector<EnumTypeSymbol *>& cmajor::symbols::SymbolCollector::EnumeratedTypes() const

Definition at line 60 of SymbolCollector.hpp :
60 { return enumeratedTypes; }

Called by: cmajor::symbols::ClassTypeSymbol::Dump , cmajor::symbols::Module::Dump


EnumerationConstants Member Function

const std::vector<EnumConstantSymbol *>& cmajor::symbols::SymbolCollector::EnumerationConstants() const

Definition at line 61 of SymbolCollector.hpp :
61 { return enumerationConstants; }

Called by: cmajor::symbols::EnumTypeSymbol::Dump , cmajor::symbols::EnumTypeSymbol::GetEnumConstants


Functions Member Function

const std::vector<FunctionSymbol *>& cmajor::symbols::SymbolCollector::Functions() const

Definition at line 54 of SymbolCollector.hpp :
54 { return functions; }

Called by: cmajor::symbols::ClassTypeSymbol::Dump , cmajor::symbols::Module::Dump


Interfaces Member Function

const std::vector<InterfaceTypeSymbol *>& cmajor::symbols::SymbolCollector::Interfaces() const

Definition at line 53 of SymbolCollector.hpp :
53 { return interfaces; }

Called by: cmajor::symbols::ClassTypeSymbol::Dump , cmajor::symbols::Module::Dump


IsEmpty Member Function

bool cmajor::symbols::SymbolCollector::IsEmpty() const

Definition at line 122 of SymbolCollector.cpp
Declaration at line 63 of SymbolCollector.hpp


MemberVariables Member Function

const std::vector<MemberVariableSymbol *>& cmajor::symbols::SymbolCollector::MemberVariables() const

Definition at line 62 of SymbolCollector.hpp :
62 { return memberVariables; }

Called by: cmajor::symbols::ClassTypeSymbol::Dump


SortByDocName Member Function

void cmajor::symbols::SymbolCollector::SortByDocName()

Definition at line 106 of SymbolCollector.cpp
Declaration at line 50 of SymbolCollector.hpp


SortByFullName Member Function

void cmajor::symbols::SymbolCollector::SortByFullName()

Definition at line 85 of SymbolCollector.cpp
Declaration at line 49 of SymbolCollector.hpp

Called by: cmajor::symbols::Module::Dump


Typedefs Member Function

const std::vector<TypedefSymbol *>& cmajor::symbols::SymbolCollector::Typedefs() const

Definition at line 55 of SymbolCollector.hpp :
55 { return typedefs; }

Called by: cmajor::symbols::ClassTypeSymbol::Dump , cmajor::symbols::Module::Dump


top | up | prev | next