top | up | prev | next

ClassTemplateSpecializationSymbol Class

Definition at line 16 of ClassTemplateSpecializationSymbol.hpp

Constructors

ClassTemplateSpecializationSymbol(const Span& span_, const std::u32string& name_, TypeSymbol* primaryClassTemplateSymbol_, const std::vector<TypeSymbol*>& templateArgumentSymbols_, const std::u32string& id_)

Member Functions

std::unique_ptr<sngxml::dom::Element> CreateElement() override
ClassKey GetClassKey() const override
bool HasBaseClass(TypeSymbol* type, int& distance) override
std::u32string Id() override
bool IsClassTemplateSpecializationSymbol() const override
TypeSymbol* PrimaryClassTemplateSymbol()
const std::vector<TypeSymbol*>& TemplateArgumentSymbols() const

Member Variables

std::u32string id
TypeSymbol* primaryClassTemplateSymbol
std::vector<TypeSymbol*> templateArgumentSymbols

Constructor Details

ClassTemplateSpecializationSymbol Constructor

sngcpp::symbols::ClassTemplateSpecializationSymbol::ClassTemplateSpecializationSymbol(const Span& span_, const std::u32string& name_, TypeSymbol * primaryClassTemplateSymbol_, const std::vector<TypeSymbol *>& templateArgumentSymbols_, const std::u32string& id_)

Definition at line 41 of ClassTemplateSpecializationSymbol.cpp :
42 :
43 ClassTypeSymbol(span_name_primaryClassTemplateSymbol_->GetClassKey())primaryClassTemplateSymbol(primaryClassTemplateSymbol_)templateArgumentSymbols(templateArgumentSymbols_)id(id_)
44 {
45 }


Declaration at line 19 of ClassTemplateSpecializationSymbol.hpp


Member Function Details

CreateElement Member Function

std::unique_ptr<sngxml::dom::Element> sngcpp::symbols::ClassTemplateSpecializationSymbol::CreateElement() override

Definition at line 52 of ClassTemplateSpecializationSymbol.cpp
Declaration at line 26 of ClassTemplateSpecializationSymbol.hpp

Base class overridden functions: sngcpp::symbols::ClassTypeSymbol::CreateElement , sngcpp::symbols::Symbol::CreateElement , sngcpp::symbols::TypeSymbol::CreateElement

Calls: sngcpp::symbols::Symbol::Id


GetClassKey Member Function

ClassKey sngcpp::symbols::ClassTemplateSpecializationSymbol::GetClassKey() const override

Definition at line 23 of ClassTemplateSpecializationSymbol.hpp :
23 { return primaryClassTemplateSymbol->GetClassKey(); }

Base class overridden functions: sngcpp::symbols::ClassTypeSymbol::GetClassKey , sngcpp::symbols::TypeSymbol::GetClassKey

Calls: sngcpp::symbols::TypeSymbol::GetClassKey


HasBaseClass Member Function

bool sngcpp::symbols::ClassTemplateSpecializationSymbol::HasBaseClass(TypeSymbol * type, int & distance) override

Definition at line 47 of ClassTemplateSpecializationSymbol.cpp :
48 {
49     return primaryClassTemplateSymbol->HasBaseClass(typedistance);
50 }


Declaration at line 22 of ClassTemplateSpecializationSymbol.hpp

Base class overridden functions: sngcpp::symbols::ClassTypeSymbol::HasBaseClass , sngcpp::symbols::TypeSymbol::HasBaseClass

Calls: sngcpp::symbols::TypeSymbol::HasBaseClass


Id Member Function

std::u32string sngcpp::symbols::ClassTemplateSpecializationSymbol::Id() override

Definition at line 27 of ClassTemplateSpecializationSymbol.hpp :
27 { return id; }

Base class overridden functions: sngcpp::symbols::Symbol::Id


IsClassTemplateSpecializationSymbol Member Function

bool sngcpp::symbols::ClassTemplateSpecializationSymbol::IsClassTemplateSpecializationSymbol() const override

Definition at line 21 of ClassTemplateSpecializationSymbol.hpp :
21 { return true; }

Base class overridden functions: sngcpp::symbols::Symbol::IsClassTemplateSpecializationSymbol


PrimaryClassTemplateSymbol Member Function

TypeSymbol * sngcpp::symbols::ClassTemplateSpecializationSymbol::PrimaryClassTemplateSymbol()

Definition at line 24 of ClassTemplateSpecializationSymbol.hpp :
24 { return primaryClassTemplateSymbol; }


TemplateArgumentSymbols Member Function

const std::vector<TypeSymbol *>& sngcpp::symbols::ClassTemplateSpecializationSymbol::TemplateArgumentSymbols() const

Definition at line 25 of ClassTemplateSpecializationSymbol.hpp :
25 { return templateArgumentSymbols; }


top | up | prev | next