Clarisse 5.0 SP8 SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Public Attributes | List of all members
OfSceneDescription::Item Struct Reference

describe an OF item More...

Public Member Functions

 Item ()
 default constructor
 Item (const OfContextEngine *source_engine, ItemId item_key, const CoreString &name, OfClass *object_class, ItemId context_id=NULL_ID, ItemId parent_id=NULL_ID)
 ~Item ()
bool is_in_root_context () const
 tells whether the item is in the top lvel context of the scene
bool operator== (const Item &other) const
bool operator!= (const Item &other) const
bool is_isolated () const
bool is_external () const
OfItemget_item ()
 create the OF item from the description

Public Attributes

const OfContextEnginesource_engine
ItemId id
 the context engine in which the item will be generated
ItemId context_id
 the ID to give to the context engine to create the item
ItemId parent_id
 id of the parent context in the table
CoreString name
 id of the kinematic parent in the table if any
 name of the item
CoreVector< Overrideoverrides
 object class of the item (0 if it is a context)
int flag
 list of override nodes to apply to the item
unsigned int index
 give some information about the item in the scene

Detailed Description

describe an OF item

Member Function Documentation

OfItem * OfSceneDescription::Item::get_item ( )

create the OF item from the description

the OF item described by this