#include <Reflex/ScopeBase.h>
Public Types | |
enum | EBuilderKind |
Public Member Functions | |
ScopeBase (const char *scope, TYPE scopeType) | |
virtual | ~ScopeBase () |
operator Scope () const | |
operator Type () const | |
virtual Base | BaseAt (size_t nth) const |
virtual size_t | BaseSize () const |
virtual Base_Iterator | Base_Begin () const |
virtual Base_Iterator | Base_End () const |
virtual Reverse_Base_Iterator | Base_RBegin () const |
virtual Reverse_Base_Iterator | Base_REnd () const |
virtual Member | DataMemberAt (size_t nth, EMEMBERQUERY inh=INHERITEDMEMBERS_DEFAULT) const |
virtual Member | DataMemberByName (const std::string &nam, EMEMBERQUERY inh=INHERITEDMEMBERS_DEFAULT) const |
virtual size_t | DataMemberSize (EMEMBERQUERY inh=INHERITEDMEMBERS_DEFAULT) const |
virtual Member_Iterator | DataMember_Begin (EMEMBERQUERY inh=INHERITEDMEMBERS_DEFAULT) const |
virtual Member_Iterator | DataMember_End (EMEMBERQUERY inh=INHERITEDMEMBERS_DEFAULT) const |
virtual Reverse_Member_Iterator | DataMember_RBegin (EMEMBERQUERY inh=INHERITEDMEMBERS_DEFAULT) const |
virtual Reverse_Member_Iterator | DataMember_REnd (EMEMBERQUERY inh=INHERITEDMEMBERS_DEFAULT) const |
virtual Scope | DeclaringScope () const |
virtual Member | FunctionMemberAt (size_t nth, EMEMBERQUERY inh=INHERITEDMEMBERS_DEFAULT) const |
virtual Member | FunctionMemberByName (const std::string &name, const Type &signature, unsigned int modifiers_mask=0, EMEMBERQUERY inh=INHERITEDMEMBERS_DEFAULT, EDELAYEDLOADSETTING allowDelayedLoad=DELAYEDLOAD_ON) const |
virtual Member | FunctionMemberByNameAndSignature (const std::string &name, const Type &signature, unsigned int modifiers_mask=0, EMEMBERQUERY inh=INHERITEDMEMBERS_DEFAULT, EDELAYEDLOADSETTING allowDelayedLoad=DELAYEDLOAD_ON) const |
virtual size_t | FunctionMemberSize (EMEMBERQUERY inh=INHERITEDMEMBERS_DEFAULT) const |
virtual Member_Iterator | FunctionMember_Begin (EMEMBERQUERY inh=INHERITEDMEMBERS_DEFAULT) const |
virtual Member_Iterator | FunctionMember_End (EMEMBERQUERY inh=INHERITEDMEMBERS_DEFAULT) const |
virtual Reverse_Member_Iterator | FunctionMember_RBegin (EMEMBERQUERY inh=INHERITEDMEMBERS_DEFAULT) const |
virtual Reverse_Member_Iterator | FunctionMember_REnd (EMEMBERQUERY inh=INHERITEDMEMBERS_DEFAULT) const |
virtual void | GenerateDict (DictionaryGenerator &generator) const |
size_t | GetBasePosition () const |
virtual bool | HasBase (const Type &cl) const |
bool | IsClass () const |
bool | IsEnum () const |
bool | IsNamespace () const |
bool | IsTemplateInstance () const |
bool | IsTopScope () const |
bool | IsUnion () const |
Member | LookupMember (const std::string &nam, const Scope ¤t) const |
Type | LookupType (const std::string &nam, const Scope ¤t) const |
Scope | LookupScope (const std::string &nam, const Scope ¤t) const |
virtual Member | MemberByName (const std::string &name, const Type &signature, EMEMBERQUERY inh=INHERITEDMEMBERS_DEFAULT) const |
virtual Member | MemberAt (size_t nth, EMEMBERQUERY inh=INHERITEDMEMBERS_DEFAULT) const |
virtual Member_Iterator | Member_Begin (EMEMBERQUERY inh=INHERITEDMEMBERS_DEFAULT) const |
virtual Member_Iterator | Member_End (EMEMBERQUERY inh=INHERITEDMEMBERS_DEFAULT) const |
virtual Reverse_Member_Iterator | Member_RBegin (EMEMBERQUERY inh=INHERITEDMEMBERS_DEFAULT) const |
virtual Reverse_Member_Iterator | Member_REnd (EMEMBERQUERY inh=INHERITEDMEMBERS_DEFAULT) const |
virtual size_t | MemberSize (EMEMBERQUERY inh=INHERITEDMEMBERS_DEFAULT) const |
MemberTemplate | MemberTemplateAt (size_t nth) const |
size_t | MemberTemplateSize () const |
MemberTemplate | MemberTemplateByName (const std::string &nam) const |
MemberTemplate_Iterator | MemberTemplate_Begin () const |
MemberTemplate_Iterator | MemberTemplate_End () const |
Reverse_MemberTemplate_Iterator | MemberTemplate_RBegin () const |
Reverse_MemberTemplate_Iterator | MemberTemplate_REnd () const |
virtual std::string | Name (unsigned int mod=0) const |
virtual const char * | SimpleName (size_t &pos, unsigned int mod=0) const |
virtual PropertyList | Properties () const |
Scope | ThisScope () const |
TYPE | ScopeType () const |
std::string | ScopeTypeAsString () const |
Scope | SubScopeAt (size_t nth) const |
size_t | SubScopeLevel () const |
size_t | SubScopeSize () const |
Scope | SubScopeByName (const std::string &nam) const |
Scope_Iterator | SubScope_Begin () const |
Scope_Iterator | SubScope_End () const |
Reverse_Scope_Iterator | SubScope_RBegin () const |
Reverse_Scope_Iterator | SubScope_REnd () const |
Type | SubTypeAt (size_t nth) const |
size_t | SubTypeSize () const |
Type | SubTypeByName (const std::string &nam) const |
Type_Iterator | SubType_Begin () const |
Type_Iterator | SubType_End () const |
Reverse_Type_Iterator | SubType_RBegin () const |
Reverse_Type_Iterator | SubType_REnd () const |
TypeTemplate | SubTypeTemplateAt (size_t nth) const |
size_t | SubTypeTemplateSize () const |
TypeTemplate | SubTypeTemplateByName (const std::string &nam) const |
TypeTemplate_Iterator | SubTypeTemplate_Begin () const |
TypeTemplate_Iterator | SubTypeTemplate_End () const |
Reverse_TypeTemplate_Iterator | SubTypeTemplate_RBegin () const |
Reverse_TypeTemplate_Iterator | SubTypeTemplate_REnd () const |
Scope | UsingDirectiveAt (size_t nth) const |
size_t | UsingDirectiveSize () const |
Scope_Iterator | UsingDirective_Begin () const |
Scope_Iterator | UsingDirective_End () const |
Reverse_Scope_Iterator | UsingDirective_RBegin () const |
Reverse_Scope_Iterator | UsingDirective_REnd () const |
virtual void | AddBase (const Type &bas, OffsetFunction offsFP, unsigned int modifiers=0) const |
virtual void | AddBase (const Base &b) const |
virtual void | AddDataMember (const Member &dm) const |
virtual Member | AddDataMember (const char *name, const Type &type, size_t offset, unsigned int modifiers=0, char *interpreterOffset=0) const |
virtual void | AddFunctionMember (const Member &fm) const |
virtual Member | AddFunctionMember (const char *name, const Type &type, StubFunction stubFP, void *stubCtx=0, const char *params=0, unsigned int modifiers=0) const |
virtual void | AddMemberTemplate (const MemberTemplate &mt) const |
virtual void | AddSubScope (const Scope &sc) const |
virtual void | AddSubScope (const char *scope, TYPE scopeType) const |
virtual void | AddSubType (const Type &ty) const |
virtual void | AddSubType (const char *type, size_t size, TYPE typeType, const std::type_info &ti, unsigned int modifiers=0) const |
void | AddSubTypeTemplate (const TypeTemplate &tt) const |
void | AddUsingDirective (const Scope &ud) const |
virtual void | RemoveDataMember (const Member &dm) const |
virtual void | RemoveFunctionMember (const Member &fm) const |
virtual void | RemoveMemberTemplate (const MemberTemplate &mt) const |
virtual void | RemoveSubScope (const Scope &sc) const |
virtual void | RemoveSubType (const Type &ty) const |
virtual void | RemoveSubTypeTemplate (const TypeTemplate &tt) const |
void | RemoveUsingDirective (const Scope &ud) const |
virtual void | HideName () const |
virtual void | UnhideName () const |
virtual bool | UpdateMembers () const |
void | RegisterOnDemandBuilder (OnDemandBuilder *builder, EBuilderKind kind) |
Static Public Member Functions | |
static Scope | GlobalScope () |
Protected Types | |
typedef std::vector< Member > | Members |
typedef std::vector< OwnedMember > | OMembers |
Protected Member Functions | |
ScopeBase () | |
Member | MemberByName2 (const std::vector< Member > &members, const std::string &name, const Type *signature=0, unsigned int modifiers_mask=0, bool matchReturnType=true) const |
void | ExecuteFunctionMemberDelayLoad () const |
void | ExecuteDataMemberDelayLoad () const |
Protected Attributes | |
std::vector< OwnedMember > | fMembers |
std::vector< Member > | fDataMembers |
std::vector< Member > | fFunctionMembers |
Private Member Functions | |
ScopeBase (const ScopeBase &) | |
ScopeBase & | operator= (const ScopeBase &) |
Private Attributes | |
ScopeName * | fScopeName |
TYPE | fScopeType |
Scope | fDeclaringScope |
std::vector< Scope > | fSubScopes |
std::vector< Type > | fSubTypes |
std::vector< TypeTemplate > | fTypeTemplates |
std::vector< OwnedMemberTemplate > | fMemberTemplates |
std::vector< Scope > | fUsingDirectives |
size_t | fBasePosition |
BuilderContainer | fOnDemandBuilder [kNumBuilderKinds] |
Definition at line 51 of file ScopeBase.h.
typedef std::vector<Member> Reflex::ScopeBase::Members [protected] |
container for all members of the Scope
Definition at line 690 of file ScopeBase.h.
typedef std::vector<OwnedMember> Reflex::ScopeBase::OMembers [protected] |
Definition at line 691 of file ScopeBase.h.
Definition at line 53 of file ScopeBase.h.
Reflex::ScopeBase::ScopeBase | ( | const char * | scope, | |
TYPE | scopeType | |||
) |
constructor within a At
virtual Reflex::ScopeBase::~ScopeBase | ( | ) | [virtual] |
destructor
Reflex::ScopeBase::ScopeBase | ( | ) | [protected] |
protected constructor for initialisation of the global namespace
Reflex::ScopeBase::ScopeBase | ( | const ScopeBase & | ) | [private] |
Reflex::ScopeBase::operator Scope | ( | ) | const |
Reflex::ScopeBase::operator Type | ( | ) | const |
nthBase will return the nth BaseAt class information
nth | nth BaseAt class |
size_t Reflex::ScopeBase::BaseSize | ( | ) | const [inline, virtual] |
BaseSize will return the number of BaseAt classes
Definition at line 826 of file ScopeBase.h.
Reflex::Base_Iterator Reflex::ScopeBase::Base_Begin | ( | ) | const [inline, virtual] |
Definition at line 834 of file ScopeBase.h.
References Reflex::Dummy::BaseCont().
Referenced by Reflex::Scope::Base_Begin().
Reflex::Base_Iterator Reflex::ScopeBase::Base_End | ( | ) | const [inline, virtual] |
Definition at line 842 of file ScopeBase.h.
References Reflex::Dummy::BaseCont().
Referenced by Reflex::Scope::Base_End().
Reflex::Reverse_Base_Iterator Reflex::ScopeBase::Base_RBegin | ( | ) | const [inline, virtual] |
Definition at line 850 of file ScopeBase.h.
References Reflex::Dummy::BaseCont().
Referenced by Reflex::Scope::Base_RBegin().
Reflex::Reverse_Base_Iterator Reflex::ScopeBase::Base_REnd | ( | ) | const [inline, virtual] |
Definition at line 858 of file ScopeBase.h.
References Reflex::Dummy::BaseCont().
Referenced by Reflex::Scope::Base_REnd().
virtual Member Reflex::ScopeBase::DataMemberAt | ( | size_t | nth, | |
EMEMBERQUERY | inh = INHERITEDMEMBERS_DEFAULT | |||
) | const [virtual] |
nthDataMember will return the nth data MemberAt of the At
nth | data MemberAt |
virtual Member Reflex::ScopeBase::DataMemberByName | ( | const std::string & | nam, | |
EMEMBERQUERY | inh = INHERITEDMEMBERS_DEFAULT | |||
) | const [virtual] |
DataMemberByName will return the MemberAt with Name
Name | of data MemberAt |
virtual size_t Reflex::ScopeBase::DataMemberSize | ( | EMEMBERQUERY | inh = INHERITEDMEMBERS_DEFAULT |
) | const [virtual] |
DataMemberSize will return the number of data members of this At
Reflex::Member_Iterator Reflex::ScopeBase::DataMember_Begin | ( | EMEMBERQUERY | inh = INHERITEDMEMBERS_DEFAULT |
) | const [inline, virtual] |
Definition at line 874 of file ScopeBase.h.
References ExecuteDataMemberDelayLoad(), and fDataMembers.
Referenced by Reflex::Scope::DataMember_Begin().
Reflex::Member_Iterator Reflex::ScopeBase::DataMember_End | ( | EMEMBERQUERY | inh = INHERITEDMEMBERS_DEFAULT |
) | const [inline, virtual] |
Definition at line 883 of file ScopeBase.h.
References ExecuteDataMemberDelayLoad(), and fDataMembers.
Referenced by Reflex::Scope::DataMember_End().
Reflex::Reverse_Member_Iterator Reflex::ScopeBase::DataMember_RBegin | ( | EMEMBERQUERY | inh = INHERITEDMEMBERS_DEFAULT |
) | const [inline, virtual] |
Definition at line 892 of file ScopeBase.h.
References ExecuteDataMemberDelayLoad(), and fDataMembers.
Referenced by Reflex::Scope::DataMember_RBegin().
Reflex::Reverse_Member_Iterator Reflex::ScopeBase::DataMember_REnd | ( | EMEMBERQUERY | inh = INHERITEDMEMBERS_DEFAULT |
) | const [inline, virtual] |
Definition at line 901 of file ScopeBase.h.
References ExecuteDataMemberDelayLoad(), and fDataMembers.
Referenced by Reflex::Scope::DataMember_REnd().
Reflex::Scope Reflex::ScopeBase::DeclaringScope | ( | ) | const [inline, virtual] |
DeclaringScope will return a pointer to the At of this one
Definition at line 866 of file ScopeBase.h.
References fDeclaringScope.
Referenced by Reflex::Scope::DeclaringScope().
virtual Member Reflex::ScopeBase::FunctionMemberAt | ( | size_t | nth, | |
EMEMBERQUERY | inh = INHERITEDMEMBERS_DEFAULT | |||
) | const [virtual] |
nthFunctionMember will return the nth function MemberAt of the At
nth | function MemberAt |
virtual Member Reflex::ScopeBase::FunctionMemberByName | ( | const std::string & | name, | |
const Type & | signature, | |||
unsigned int | modifiers_mask = 0 , |
|||
EMEMBERQUERY | inh = INHERITEDMEMBERS_DEFAULT , |
|||
EDELAYEDLOADSETTING | allowDelayedLoad = DELAYEDLOAD_ON | |||
) | const [virtual] |
FunctionMemberByName will return the MemberAt with the Name, optionally the signature of the function may be given
Name | of function MemberAt | |
signature | of the MemberAt function When matching, do not compare the listed modifiers |
virtual Member Reflex::ScopeBase::FunctionMemberByNameAndSignature | ( | const std::string & | name, | |
const Type & | signature, | |||
unsigned int | modifiers_mask = 0 , |
|||
EMEMBERQUERY | inh = INHERITEDMEMBERS_DEFAULT , |
|||
EDELAYEDLOADSETTING | allowDelayedLoad = DELAYEDLOAD_ON | |||
) | const [virtual] |
FunctionMemberByNameAndSignature will return the MemberAt with the Name, optionally the signature of the function may be given
Name | of function MemberAt | |
signature | of the MemberAt function When matching, do not compare the listed modifiers |
virtual size_t Reflex::ScopeBase::FunctionMemberSize | ( | EMEMBERQUERY | inh = INHERITEDMEMBERS_DEFAULT |
) | const [virtual] |
FunctionMemberSize will return the number of function members of this type
Reflex::Member_Iterator Reflex::ScopeBase::FunctionMember_Begin | ( | EMEMBERQUERY | inh = INHERITEDMEMBERS_DEFAULT |
) | const [inline, virtual] |
Definition at line 910 of file ScopeBase.h.
References ExecuteFunctionMemberDelayLoad(), and fFunctionMembers.
Referenced by Reflex::Scope::FunctionMember_Begin().
Reflex::Member_Iterator Reflex::ScopeBase::FunctionMember_End | ( | EMEMBERQUERY | inh = INHERITEDMEMBERS_DEFAULT |
) | const [inline, virtual] |
Definition at line 919 of file ScopeBase.h.
References ExecuteFunctionMemberDelayLoad(), and fFunctionMembers.
Referenced by Reflex::Scope::FunctionMember_End().
Reflex::Reverse_Member_Iterator Reflex::ScopeBase::FunctionMember_RBegin | ( | EMEMBERQUERY | inh = INHERITEDMEMBERS_DEFAULT |
) | const [inline, virtual] |
Definition at line 928 of file ScopeBase.h.
References ExecuteFunctionMemberDelayLoad(), and fFunctionMembers.
Referenced by Reflex::Scope::FunctionMember_RBegin().
Reflex::Reverse_Member_Iterator Reflex::ScopeBase::FunctionMember_REnd | ( | EMEMBERQUERY | inh = INHERITEDMEMBERS_DEFAULT |
) | const [inline, virtual] |
Definition at line 937 of file ScopeBase.h.
References ExecuteFunctionMemberDelayLoad(), and fFunctionMembers.
Referenced by Reflex::Scope::FunctionMember_REnd().
virtual void Reflex::ScopeBase::GenerateDict | ( | DictionaryGenerator & | generator | ) | const [virtual] |
GenerateDict will produce the dictionary information of this type
generator | a reference to the dictionary generator instance |
size_t Reflex::ScopeBase::GetBasePosition | ( | ) | const [inline] |
GetBasePosition will return fBasePosition
Definition at line 946 of file ScopeBase.h.
References fBasePosition.
static Scope Reflex::ScopeBase::GlobalScope | ( | ) | [static] |
GlobalScope will return the global scope representation\
Referenced by Reflex::Scope::GlobalScope().
bool Reflex::ScopeBase::HasBase | ( | const Type & | cl | ) | const [inline, virtual] |
HasBase will check whether this class has a base class given as argument
cl | the base-class to check for |
Definition at line 1051 of file ScopeBase.h.
bool Reflex::ScopeBase::IsClass | ( | ) | const [inline] |
IsClass returns true if the At represents a Class
Definition at line 1070 of file ScopeBase.h.
References Reflex::CLASS, fScopeType, Reflex::STRUCT, and Reflex::TYPETEMPLATEINSTANCE.
Referenced by Reflex::Scope::IsClass().
bool Reflex::ScopeBase::IsEnum | ( | ) | const [inline] |
IsEnum returns true if the At represents a Enum
Definition at line 1080 of file ScopeBase.h.
References Reflex::ENUM, and fScopeType.
Referenced by Reflex::Scope::IsEnum().
bool Reflex::ScopeBase::IsNamespace | ( | ) | const [inline] |
IsNamespace returns true if the At represents a Namespace
Definition at line 1088 of file ScopeBase.h.
References fScopeType, and Reflex::NAMESPACE.
Referenced by Reflex::Scope::IsNamespace().
bool Reflex::ScopeBase::IsTemplateInstance | ( | ) | const |
IsTemplateInstance returns true if the At represents a ClassTemplateInstance
Referenced by Reflex::Scope::IsTemplateInstance().
bool Reflex::ScopeBase::IsTopScope | ( | ) | const |
IsTopScope will return true if the current At is the top (Empty) namespace
Referenced by Reflex::Scope::IsTopScope().
bool Reflex::ScopeBase::IsUnion | ( | ) | const [inline] |
IsUnion returns true if the At represents a Union
Definition at line 1103 of file ScopeBase.h.
References fScopeType, and Reflex::UNION.
Referenced by Reflex::Scope::IsUnion().
Member Reflex::ScopeBase::LookupMember | ( | const std::string & | nam, | |
const Scope & | current | |||
) | const |
LookupMember will lookup a member in the current scope
nam | the string representation of the member to lookup | |
current | the current scope |
Type Reflex::ScopeBase::LookupType | ( | const std::string & | nam, | |
const Scope & | current | |||
) | const |
LookupType will lookup a type in the current scope
nam | the string representation of the type to lookup | |
current | the current scope |
Scope Reflex::ScopeBase::LookupScope | ( | const std::string & | nam, | |
const Scope & | current | |||
) | const |
LookupType will lookup a scope in the current scope
nam | the string representation of the scope to lookup | |
current | the current scope |
virtual Member Reflex::ScopeBase::MemberByName | ( | const std::string & | name, | |
const Type & | signature, | |||
EMEMBERQUERY | inh = INHERITEDMEMBERS_DEFAULT | |||
) | const [virtual] |
MemberByName will return the first MemberAt with a given Name
Name | MemberAt Name |
virtual Member Reflex::ScopeBase::MemberAt | ( | size_t | nth, | |
EMEMBERQUERY | inh = INHERITEDMEMBERS_DEFAULT | |||
) | const [virtual] |
MemberAt will return the nth MemberAt of the At
nth | MemberAt |
virtual Member_Iterator Reflex::ScopeBase::Member_Begin | ( | EMEMBERQUERY | inh = INHERITEDMEMBERS_DEFAULT |
) | const [virtual] |
virtual Member_Iterator Reflex::ScopeBase::Member_End | ( | EMEMBERQUERY | inh = INHERITEDMEMBERS_DEFAULT |
) | const [virtual] |
virtual Reverse_Member_Iterator Reflex::ScopeBase::Member_RBegin | ( | EMEMBERQUERY | inh = INHERITEDMEMBERS_DEFAULT |
) | const [virtual] |
virtual Reverse_Member_Iterator Reflex::ScopeBase::Member_REnd | ( | EMEMBERQUERY | inh = INHERITEDMEMBERS_DEFAULT |
) | const [virtual] |
virtual size_t Reflex::ScopeBase::MemberSize | ( | EMEMBERQUERY | inh = INHERITEDMEMBERS_DEFAULT |
) | const [virtual] |
MemberSize will return the number of members
Referenced by Reflex::Scope::MemberSize().
MemberTemplate Reflex::ScopeBase::MemberTemplateAt | ( | size_t | nth | ) | const |
MemberTemplateAt will return the nth MemberAt template of this At
nth | MemberAt template |
size_t Reflex::ScopeBase::MemberTemplateSize | ( | ) | const |
MemberTemplateSize will return the number of MemberAt templates in this socpe
MemberTemplate Reflex::ScopeBase::MemberTemplateByName | ( | const std::string & | nam | ) | const |
MemberTemplateByName will return the member template representation in this scope
string | representing the member template to look for |
MemberTemplate_Iterator Reflex::ScopeBase::MemberTemplate_Begin | ( | ) | const |
Referenced by Reflex::Scope::MemberTemplate_Begin().
MemberTemplate_Iterator Reflex::ScopeBase::MemberTemplate_End | ( | ) | const |
Referenced by Reflex::Scope::MemberTemplate_End().
Reverse_MemberTemplate_Iterator Reflex::ScopeBase::MemberTemplate_RBegin | ( | ) | const |
Referenced by Reflex::Scope::MemberTemplate_RBegin().
Reverse_MemberTemplate_Iterator Reflex::ScopeBase::MemberTemplate_REnd | ( | ) | const |
Referenced by Reflex::Scope::MemberTemplate_REnd().
virtual std::string Reflex::ScopeBase::Name | ( | unsigned int | mod = 0 |
) | const [virtual] |
Name will return the Name of the At
virtual const char* Reflex::ScopeBase::SimpleName | ( | size_t & | pos, | |
unsigned int | mod = 0 | |||
) | const [virtual] |
SimpleName returns the name of the type as a reference. It provides a simplified but faster generation of a type name. Attention currently it is not guaranteed that Name() and SimpleName() return the same character layout of a name (ie. spacing, commas, etc. )
pos | will indicate where in the returned reference the requested name starts | |
mod | The only 'mod' support is SCOPED |
virtual PropertyList Reflex::ScopeBase::Properties | ( | ) | const [virtual] |
Properties will return a pointer to the PropertyNth list attached to this item
Referenced by Reflex::Scope::Properties().
Scope Reflex::ScopeBase::ThisScope | ( | ) | const |
Reflex::TYPE Reflex::ScopeBase::ScopeType | ( | ) | const [inline] |
ScopeType will return which kind of At is represented
Definition at line 1111 of file ScopeBase.h.
References fScopeType.
Referenced by Reflex::Scope::ScopeType().
std::string Reflex::ScopeBase::ScopeTypeAsString | ( | ) | const |
ScopeTypeAsString will return the string representation of the enum representing the current Scope (e.g. "CLASS")
Referenced by Reflex::Scope::ScopeTypeAsString().
Reflex::Scope Reflex::ScopeBase::SubScopeAt | ( | size_t | nth | ) | const [inline] |
SubScopeAt will return a pointer to a sub-scopes
nth | sub-At |
Definition at line 1119 of file ScopeBase.h.
References fSubScopes, and Reflex::Dummy::Scope().
Referenced by Reflex::Scope::SubScopeAt().
size_t Reflex::ScopeBase::SubScopeLevel | ( | ) | const |
SubScopeLevel will return the number of declaring scopes this scope lives in.
Referenced by Reflex::Scope::SubScopeLevel().
size_t Reflex::ScopeBase::SubScopeSize | ( | ) | const [inline] |
ScopeSize will return the number of sub-scopes
Definition at line 1130 of file ScopeBase.h.
References fSubScopes.
Referenced by Reflex::Scope::SubScopeSize().
Scope Reflex::ScopeBase::SubScopeByName | ( | const std::string & | nam | ) | const |
SubScopeByName will return a sub scope representing the unscoped name passed as argument
unscoped | name of the sub scope to look for |
Referenced by Reflex::Scope::SubScopeByName().
Reflex::Scope_Iterator Reflex::ScopeBase::SubScope_Begin | ( | ) | const [inline] |
Definition at line 954 of file ScopeBase.h.
References fSubScopes.
Referenced by Reflex::Scope::SubScope_Begin().
Reflex::Scope_Iterator Reflex::ScopeBase::SubScope_End | ( | ) | const [inline] |
Definition at line 962 of file ScopeBase.h.
References fSubScopes.
Referenced by Reflex::Scope::SubScope_End().
Reflex::Reverse_Scope_Iterator Reflex::ScopeBase::SubScope_RBegin | ( | ) | const [inline] |
Definition at line 970 of file ScopeBase.h.
References fSubScopes.
Referenced by Reflex::Scope::SubScope_RBegin().
Reflex::Reverse_Scope_Iterator Reflex::ScopeBase::SubScope_REnd | ( | ) | const [inline] |
Definition at line 978 of file ScopeBase.h.
References fSubScopes.
Referenced by Reflex::Scope::SubScope_REnd().
At will return a pointer to the nth sub-At
nth | sub-At |
size_t Reflex::ScopeBase::SubTypeSize | ( | ) | const |
TypeSize will returnt he number of sub-types
Type Reflex::ScopeBase::SubTypeByName | ( | const std::string & | nam | ) | const |
Reflex::Type_Iterator Reflex::ScopeBase::SubType_Begin | ( | ) | const [inline] |
Definition at line 986 of file ScopeBase.h.
References fSubTypes.
Referenced by Reflex::Scope::SubType_Begin().
Reflex::Type_Iterator Reflex::ScopeBase::SubType_End | ( | ) | const [inline] |
Definition at line 994 of file ScopeBase.h.
References fSubTypes.
Referenced by Reflex::Scope::SubType_End().
Reflex::Reverse_Type_Iterator Reflex::ScopeBase::SubType_RBegin | ( | ) | const [inline] |
Definition at line 1002 of file ScopeBase.h.
References fSubTypes.
Referenced by Reflex::Scope::SubType_RBegin().
Reflex::Reverse_Type_Iterator Reflex::ScopeBase::SubType_REnd | ( | ) | const [inline] |
Definition at line 1010 of file ScopeBase.h.
References fSubTypes.
Referenced by Reflex::Scope::SubType_REnd().
TypeTemplate Reflex::ScopeBase::SubTypeTemplateAt | ( | size_t | nth | ) | const |
SubTypeTemplateAt will return the nth At template of this At
nth | sub type template |
size_t Reflex::ScopeBase::SubTypeTemplateSize | ( | ) | const |
SubTypeTemplateSize will return the number of At templates in this socpe
TypeTemplate Reflex::ScopeBase::SubTypeTemplateByName | ( | const std::string & | nam | ) | const |
SubTypeTemplateByName will return a type template defined in this scope looked up by it's unscoped name
unscoped | name of the type template to look for |
Reflex::TypeTemplate_Iterator Reflex::ScopeBase::SubTypeTemplate_Begin | ( | ) | const [inline] |
Definition at line 1018 of file ScopeBase.h.
References fTypeTemplates.
Referenced by Reflex::Scope::SubTypeTemplate_Begin().
Reflex::TypeTemplate_Iterator Reflex::ScopeBase::SubTypeTemplate_End | ( | ) | const [inline] |
Definition at line 1026 of file ScopeBase.h.
References fTypeTemplates.
Referenced by Reflex::Scope::SubTypeTemplate_End().
Reflex::Reverse_TypeTemplate_Iterator Reflex::ScopeBase::SubTypeTemplate_RBegin | ( | ) | const [inline] |
Definition at line 1034 of file ScopeBase.h.
References fTypeTemplates.
Referenced by Reflex::Scope::SubTypeTemplate_RBegin().
Reflex::Reverse_TypeTemplate_Iterator Reflex::ScopeBase::SubTypeTemplate_REnd | ( | ) | const [inline] |
Definition at line 1042 of file ScopeBase.h.
References fTypeTemplates.
Referenced by Reflex::Scope::SubTypeTemplate_REnd().
Reflex::Scope Reflex::ScopeBase::UsingDirectiveAt | ( | size_t | nth | ) | const [inline] |
UsingDirectiveAt will return the nth using directive
nth | using directive |
Definition at line 1138 of file ScopeBase.h.
References fUsingDirectives, and Reflex::Dummy::Scope().
Referenced by Reflex::Scope::UsingDirectiveAt().
size_t Reflex::ScopeBase::UsingDirectiveSize | ( | ) | const [inline] |
UsingDirectiveSize will return the number of using directives of this scope
Definition at line 1149 of file ScopeBase.h.
References fUsingDirectives.
Referenced by Reflex::Scope::UsingDirectiveSize().
Reflex::Scope_Iterator Reflex::ScopeBase::UsingDirective_Begin | ( | ) | const [inline] |
Definition at line 1157 of file ScopeBase.h.
References fUsingDirectives.
Referenced by Reflex::Scope::UsingDirective_Begin().
Reflex::Scope_Iterator Reflex::ScopeBase::UsingDirective_End | ( | ) | const [inline] |
Definition at line 1165 of file ScopeBase.h.
References fUsingDirectives.
Referenced by Reflex::Scope::UsingDirective_End().
Reflex::Reverse_Scope_Iterator Reflex::ScopeBase::UsingDirective_RBegin | ( | ) | const [inline] |
Definition at line 1173 of file ScopeBase.h.
References fUsingDirectives.
Referenced by Reflex::Scope::UsingDirective_RBegin().
Reflex::Reverse_Scope_Iterator Reflex::ScopeBase::UsingDirective_REnd | ( | ) | const [inline] |
Definition at line 1181 of file ScopeBase.h.
References fUsingDirectives.
Referenced by Reflex::Scope::UsingDirective_REnd().
virtual void Reflex::ScopeBase::AddBase | ( | const Type & | bas, | |
OffsetFunction | offsFP, | |||
unsigned int | modifiers = 0 | |||
) | const [virtual] |
AddBase will add information about a Base class
base | type of the base class | |
offsFP | pointer to a function stub for calculating the base class offset | |
modifiers | the modifiers of the base class |
Referenced by Reflex::Scope::AddBase().
virtual void Reflex::ScopeBase::AddBase | ( | const Base & | b | ) | const [virtual] |
AddBase will add the information about a Base class
b | pointer to the base class |
virtual void Reflex::ScopeBase::AddDataMember | ( | const Member & | dm | ) | const [virtual] |
AddDataMember will add the information about a data MemberAt
dm | pointer to data MemberAt |
virtual Member Reflex::ScopeBase::AddDataMember | ( | const char * | name, | |
const Type & | type, | |||
size_t | offset, | |||
unsigned int | modifiers = 0 , |
|||
char * | interpreterOffset = 0 | |||
) | const [virtual] |
virtual void Reflex::ScopeBase::AddFunctionMember | ( | const Member & | fm | ) | const [virtual] |
AddFunctionMember will add the information about a function MemberAt
fm | pointer to function MemberAt |
virtual Member Reflex::ScopeBase::AddFunctionMember | ( | const char * | name, | |
const Type & | type, | |||
StubFunction | stubFP, | |||
void * | stubCtx = 0 , |
|||
const char * | params = 0 , |
|||
unsigned int | modifiers = 0 | |||
) | const [virtual] |
virtual void Reflex::ScopeBase::AddMemberTemplate | ( | const MemberTemplate & | mt | ) | const [virtual] |
virtual void Reflex::ScopeBase::AddSubScope | ( | const Scope & | sc | ) | const [virtual] |
AddSubScope will add a sub-At to this one
sc | pointer to Scope |
Referenced by Reflex::Scope::AddSubScope().
virtual void Reflex::ScopeBase::AddSubScope | ( | const char * | scope, | |
TYPE | scopeType | |||
) | const [virtual] |
virtual void Reflex::ScopeBase::AddSubType | ( | const Type & | ty | ) | const [virtual] |
AddSubType will add a sub-At to this At
sc | pointer to Type |
virtual void Reflex::ScopeBase::AddSubType | ( | const char * | type, | |
size_t | size, | |||
TYPE | typeType, | |||
const std::type_info & | ti, | |||
unsigned int | modifiers = 0 | |||
) | const [virtual] |
void Reflex::ScopeBase::AddSubTypeTemplate | ( | const TypeTemplate & | tt | ) | const |
void Reflex::ScopeBase::AddUsingDirective | ( | const Scope & | ud | ) | const |
Referenced by Reflex::Scope::AddUsingDirective().
virtual void Reflex::ScopeBase::RemoveDataMember | ( | const Member & | dm | ) | const [virtual] |
RemoveDataMember will remove the information about a data MemberAt
dm | pointer to data MemberAt |
virtual void Reflex::ScopeBase::RemoveFunctionMember | ( | const Member & | fm | ) | const [virtual] |
RemoveFunctionMember will remove the information about a function MemberAt
fm | pointer to function MemberAt |
virtual void Reflex::ScopeBase::RemoveMemberTemplate | ( | const MemberTemplate & | mt | ) | const [virtual] |
virtual void Reflex::ScopeBase::RemoveSubScope | ( | const Scope & | sc | ) | const [virtual] |
RemoveSubScope will remove a sub-At to this one
sc | pointer to Scope |
Referenced by Reflex::Scope::RemoveSubScope().
virtual void Reflex::ScopeBase::RemoveSubType | ( | const Type & | ty | ) | const [virtual] |
RemoveSubType will remove a sub-At to this At
sc | pointer to Type |
virtual void Reflex::ScopeBase::RemoveSubTypeTemplate | ( | const TypeTemplate & | tt | ) | const [virtual] |
void Reflex::ScopeBase::RemoveUsingDirective | ( | const Scope & | ud | ) | const |
Referenced by Reflex::Scope::RemoveUsingDirective().
virtual void Reflex::ScopeBase::HideName | ( | ) | const [virtual] |
Hide this scope from any lookup by appending the string " @HIDDEN@" to its name.
virtual void Reflex::ScopeBase::UnhideName | ( | ) | const [virtual] |
Un-Hide this scope from any lookup by removing the string " @HIDDEN@" to its name.
bool Reflex::ScopeBase::UpdateMembers | ( | ) | const [inline, virtual] |
Initialize the vector of inherited members. Returns false if one of the bases is not complete.
Definition at line 1059 of file ScopeBase.h.
void Reflex::ScopeBase::RegisterOnDemandBuilder | ( | OnDemandBuilder * | builder, | |
EBuilderKind | kind | |||
) |
Member Reflex::ScopeBase::MemberByName2 | ( | const std::vector< Member > & | members, | |
const std::string & | name, | |||
const Type * | signature = 0 , |
|||
unsigned int | modifiers_mask = 0 , |
|||
bool | matchReturnType = true | |||
) | const [protected] |
The MemberByName work-horse: find a member called name in members, if signature also compare its signature, and if matchReturnType also compare the signature's return types.
void Reflex::ScopeBase::ExecuteFunctionMemberDelayLoad | ( | ) | const [inline, protected] |
Definition at line 671 of file ScopeBase.h.
Referenced by FunctionMember_Begin(), FunctionMember_End(), FunctionMember_RBegin(), and FunctionMember_REnd().
void Reflex::ScopeBase::ExecuteDataMemberDelayLoad | ( | ) | const [inline, protected] |
Definition at line 676 of file ScopeBase.h.
Referenced by DataMember_Begin(), DataMember_End(), DataMember_RBegin(), and DataMember_REnd().
std::vector<OwnedMember> Reflex::ScopeBase::fMembers [mutable, protected] |
pointers to members scope members 0..* 1
Definition at line 701 of file ScopeBase.h.
std::vector<Member> Reflex::ScopeBase::fDataMembers [mutable, protected] |
container with pointers to all data members in this scope scope datamembers 1 0..*
Definition at line 711 of file ScopeBase.h.
Referenced by DataMember_Begin(), DataMember_End(), DataMember_RBegin(), and DataMember_REnd().
std::vector<Member> Reflex::ScopeBase::fFunctionMembers [mutable, protected] |
container with pointers to all function members in this scope scope functionmembers 0..* 1
Definition at line 721 of file ScopeBase.h.
Referenced by FunctionMember_Begin(), FunctionMember_End(), FunctionMember_RBegin(), and FunctionMember_REnd().
ScopeName* Reflex::ScopeBase::fScopeName [private] |
pointer to the Scope Name scope name 1 1
Definition at line 731 of file ScopeBase.h.
TYPE Reflex::ScopeBase::fScopeType [private] |
Type of the scope scope type 1 1
Definition at line 741 of file ScopeBase.h.
Referenced by IsClass(), IsEnum(), IsNamespace(), IsUnion(), and ScopeType().
Scope Reflex::ScopeBase::fDeclaringScope [private] |
pointer to declaring Scope declaring scope 1 1
Definition at line 751 of file ScopeBase.h.
Referenced by DeclaringScope().
std::vector<Scope> Reflex::ScopeBase::fSubScopes [mutable, private] |
pointers to sub-scopes sub scopes 0..* 1
Definition at line 762 of file ScopeBase.h.
Referenced by SubScope_Begin(), SubScope_End(), SubScope_RBegin(), SubScope_REnd(), SubScopeAt(), and SubScopeSize().
std::vector<Type> Reflex::ScopeBase::fSubTypes [mutable, private] |
pointer to types sub types 0..* 1
Definition at line 773 of file ScopeBase.h.
Referenced by SubType_Begin(), SubType_End(), SubType_RBegin(), and SubType_REnd().
std::vector<TypeTemplate> Reflex::ScopeBase::fTypeTemplates [mutable, private] |
container for type templates defined in this scope type templates 0..* 1
Definition at line 784 of file ScopeBase.h.
Referenced by SubTypeTemplate_Begin(), SubTypeTemplate_End(), SubTypeTemplate_RBegin(), and SubTypeTemplate_REnd().
std::vector<OwnedMemberTemplate> Reflex::ScopeBase::fMemberTemplates [mutable, private] |
container for member templates defined in this scope member templates 0..* 1
Definition at line 795 of file ScopeBase.h.
std::vector<Scope> Reflex::ScopeBase::fUsingDirectives [mutable, private] |
container for using directives of this scope using directives aggregation 0..* 1
Definition at line 806 of file ScopeBase.h.
Referenced by UsingDirective_Begin(), UsingDirective_End(), UsingDirective_RBegin(), UsingDirective_REnd(), UsingDirectiveAt(), and UsingDirectiveSize().
size_t Reflex::ScopeBase::fBasePosition [private] |
The position where the unscoped Name starts in the scopename
Definition at line 812 of file ScopeBase.h.
Referenced by GetBasePosition().
BuilderContainer Reflex::ScopeBase::fOnDemandBuilder[kNumBuilderKinds] [mutable, private] |
Containers for on-demand builders of function and data members.
Definition at line 818 of file ScopeBase.h.