public

Inheritance Graph

graph BT
	Type
	Type --> Object
	Void --> Type
	click Type "classEScript_1_1Type"
	click Object "classEScript_1_1Object"
	click Void "classEScript_1_1Void"

Description

[ Type ] > [ Object ]

Initialization

   
   
Type * getTypeObject()
   
void init( EScript::Namespace & globals)

Main

     
     
  Type()  
     
  Type( Type * baseType)  
     
  Type( Type * baseType, Type * typeOfType)  
     
  ~Type()  
     
Object * clone() const
> [ Object ]
     
internalTypeId_t _getInternalTypeId() const  

Attributes

     
     
void collectTypeAttributes(std::unordered_map< StringId , Object * > & attrs) const
Get only the typeAttributes.
 
     
void collectObjAttributes(std::unordered_map< StringId , Object * > & attrs) const
Get only the objectAttributes.
 
     
void copyObjAttributesTo( Object * instance)  
     
Attribute * findTypeAttribute(const StringId & id)
Used by instances of this type get the value of an inherited typeAttribute.
 
     
Attribute * _accessAttribute(const StringId & id, bool localOnly)
> [ Object ]
     
bool setAttribute(const StringId & id, const Attribute & attr)
> [ Object ]
     
void collectLocalAttributes(std::unordered_map< StringId , Object * > & attrs)
> [ Object ]

Flags

   
   
typedef uint16_t flag_t
   
const flag_t FLAG_CALL_BY_VALUE
   
const flag_t FLAG_CONTAINS_OBJ_ATTRS
   
const flag_t FLAG_ALLOWS_USER_INHERITANCE
   
bool getFlag( flag_t f) const
   
void setFlag( flag_t f, bool b)
   
flag_t getFlags() const

Inheritance

   
   
void allowUserInheritance(bool b)
   
bool allowsUserInheritance() const
   
Type * getBaseType() const
   
bool hasBase(const Type * type) const
   
bool isBaseOf(const Type * type) const

Documentation

function
EScript::Type::getTypeObject

public static
   
   
Type * getTypeObject( )

Defined in EScript/EScript/Objects/Type.h:27


function
EScript::Type::init

public static
     
     
void init( EScript::Namespace & globals )

Defined in EScript/EScript/Objects/Type.h:28


function
EScript::Type::Type

public
   
   
Type( )

Defined in EScript/EScript/Objects/Type.h:36


function
EScript::Type::Type

public
     
     
Type( Type * baseType )

Defined in EScript/EScript/Objects/Type.h:37


function
EScript::Type::Type

public
     
     
Type( Type * baseType,
  Type * typeOfType
)    

Defined in EScript/EScript/Objects/Type.h:38


function
EScript::Type::~Type

public virtual
   
   
~Type( )

Defined in EScript/EScript/Objects/Type.h:39


function
EScript::Type::clone

public const virtual
   
   
Object * clone( ) const
> [ Object ]

Defined in EScript/EScript/Objects/Type.h:42


function
EScript::Type::_getInternalTypeId

public const inline virtual
   
   
internalTypeId_t _getInternalTypeId( ) const

o For internal use only.

Defined in EScript/EScript/Objects/Type.h:43


function
EScript::Type::collectTypeAttributes

public const
     
     
void collectTypeAttributes( std::unordered_map< StringId , Object * > & attrs ) const

Get only the typeAttributes.

Defined in EScript/EScript/Objects/Type.h:56


function
EScript::Type::collectObjAttributes

public const
     
     
void collectObjAttributes( std::unordered_map< StringId , Object * > & attrs ) const

Get only the objectAttributes.

Defined in EScript/EScript/Objects/Type.h:58


function
EScript::Type::copyObjAttributesTo

public
     
     
void copyObjAttributesTo( Object * instance )

Defined in EScript/EScript/Objects/Type.h:60


function
EScript::Type::findTypeAttribute

public
     
     
Attribute * findTypeAttribute( const StringId & id )

Used by instances of this type get the value of an inherited typeAttribute.

Defined in EScript/EScript/Objects/Type.h:63


function
EScript::Type::_accessAttribute

public virtual
     
     
Attribute * _accessAttribute( const StringId & id,
  bool localOnly
)    
> [ Object ]

Defined in EScript/EScript/Objects/Type.h:69


function
EScript::Type::setAttribute

public virtual
     
     
bool setAttribute( const StringId & id,
  const Attribute & attr
)    
> [ Object ]

Defined in EScript/EScript/Objects/Type.h:72


function
EScript::Type::collectLocalAttributes

public virtual
     
     
void collectLocalAttributes( std::unordered_map< StringId , Object * > & attrs )
> [ Object ]

Defined in EScript/EScript/Objects/Type.h:75


typedef
EScript::Type::flag_t

public
 
 
typedef uint16_t flag_t

Defined in EScript/EScript/Objects/Type.h:86


variable
EScript::Type::FLAG_CALL_BY_VALUE

public static
 
 
const flag_t FLAG_CALL_BY_VALUE

Defined in EScript/EScript/Objects/Type.h:88


variable
EScript::Type::FLAG_CONTAINS_OBJ_ATTRS

public static
 
 
const flag_t FLAG_CONTAINS_OBJ_ATTRS

Defined in EScript/EScript/Objects/Type.h:89


variable
EScript::Type::FLAG_ALLOWS_USER_INHERITANCE

public static
 
 
const flag_t FLAG_ALLOWS_USER_INHERITANCE

Defined in EScript/EScript/Objects/Type.h:90


function
EScript::Type::getFlag

public const inline
     
     
bool getFlag( flag_t f ) const

Defined in EScript/EScript/Objects/Type.h:92


function
EScript::Type::setFlag

public inline
     
     
void setFlag( flag_t f,
  bool b
)    

Defined in EScript/EScript/Objects/Type.h:93


function
EScript::Type::getFlags

public const inline
   
   
flag_t getFlags( ) const

Defined in EScript/EScript/Objects/Type.h:94


function
EScript::Type::allowUserInheritance

public inline
     
     
void allowUserInheritance( bool b )

Defined in EScript/EScript/Objects/Type.h:104


function
EScript::Type::allowsUserInheritance

public const inline
   
   
bool allowsUserInheritance( ) const

Defined in EScript/EScript/Objects/Type.h:105


function
EScript::Type::getBaseType

public const inline
   
   
Type * getBaseType( ) const

Defined in EScript/EScript/Objects/Type.h:107


function
EScript::Type::hasBase

public const
     
     
bool hasBase( const Type * type ) const

Defined in EScript/EScript/Objects/Type.h:109


function
EScript::Type::isBaseOf

public const
     
     
bool isBaseOf( const Type * type ) const

Defined in EScript/EScript/Objects/Type.h:110