Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Attributes | List of all members
ComponentDebugImplementation Class Reference
Inheritance diagram for ComponentDebugImplementation:
ComponentImplementation CoreBaseObject CoreBaseType

Public Member Functions

 ComponentDebugImplementation (ComponentFactory *factory, CoreString msg)
 
virtual bool get_components (const CoreBaseObject &instance, const CoreBasicArray< unsigned int > &indices, ComponentCollection &components) const override
 Method used to retrieve internal data of the callee organized in a ComponentCollection.
 
virtual unsigned int get_component_count (const CoreBaseObject &) const override
 Return the number of components available for the specified interface/schema.
 
- Public Member Functions inherited from ComponentImplementation
 ComponentImplementation (ComponentFactory *factory=0)
 
unsigned int find_property (const CoreString &name, const unsigned int &idx=0) const
 Return the index of the property.
 
const ComponentInterfaceget_interface () const
 Return the interface this class implements.
 
const ComponentSchemaget_schema () const
 Return the schema this class implements.
 
virtual bool get_static_components (ComponentCollection &components) const
 Method used to retrieve static internal data of the callee organized in a ComponentCollection.
 
virtual bool set_components (CoreBaseObject &instance, const CoreBasicArray< unsigned int > &indices, const ComponentCollection &components) const
 Method used to set internal data of the callee.
 
virtual unsigned int get_static_component_count () const
 Return the number of static components available.
 
virtual bool get_modified_components (const CoreBaseObject &instance, CoreVector< unsigned int > &modified_component_indices) const
 Return an array of the components that have been modified.
 
- Public Member Functions inherited from CoreBaseObject
bool is_kindof (const CoreBaseObject &object) const
 
virtual size_t get_memory_size () const
 
CoreString get_class_info_name () const
 
const unsigned long & get_class_info_id () const
 
virtual bool is_kindof (const CoreClassInfo &cinfo) const
 
virtual const CoreClassInfoget_class_info () const
 
template<class T >
T * cast ()
 
template<class T >
const T * cast () const
 
- Public Member Functions inherited from CoreBaseType
bool is_kindof (const CoreClassInfo &cinfo) const
 

Protected Attributes

CoreString m_message
 

Additional Inherited Members

- Static Public Member Functions inherited from CoreBaseObject
static const CoreClassInfoclass_info ()
 
template<class T >
static T * cast (CoreBaseObject *object)
 
template<class T >
static const T * cast (const CoreBaseObject *object)
 

Member Function Documentation

virtual unsigned int ComponentDebugImplementation::get_component_count ( const CoreBaseObject instance) const
inlineoverridevirtual

Return the number of components available for the specified interface/schema.

Parameters
[in]instanceinstance to the object so it can access to its internal data

Reimplemented from ComponentImplementation.

virtual bool ComponentDebugImplementation::get_components ( const CoreBaseObject instance,
const CoreBasicArray< unsigned int > &  indices,
ComponentCollection components 
) const
inlineoverridevirtual

Method used to retrieve internal data of the callee organized in a ComponentCollection.

Parameters
[in]instanceinstance to the object so it can access to its internal data
[in]indicesindices of requested components. Indices are assumed valid.
[out]componentscomponents that will be properly filled. Components are assumed to match the requested size.
Returns
false is not implemented

Implements ComponentImplementation.