![]() |
Springhead
An open source physics engine for virtual reality, haptics and motion generation.
|
ファイルロードの際にDOMノードのような役割をするノード ファイルからObjectDescを読み出したり,ファイルに書き込んだりするためのデータ. ObjectDesc へのポインタ(data) と 型情報 (type) を持つ. メモリの管理も行う.
#include <UTLoadContext.h>

Public 型 | |
|
typedef std::map< UTString, UTString > | Attributes |
Public メソッド | |
| UTLoadedData (UTLoadContext *fc, UTTypeDesc *t, void *data=NULL) | |
| void | AddLink (UTLoadedData *to) |
| 参照の追加 | |
| void | AddChild (UTLoadedData *c) |
| 子ノードのデータの追加 | |
| void | SetupNameManager () |
| void | SetType (UTTypeDesc *t) |
| void | SetName (UTString n) |
| UTString | GetName () const |
| void | SetAttribute (UTString key, UTString val) |
| UTString | GetAttribute (UTString key) const |
| bool | HasAttribute (UTString key) const |
| bool | operator< (const UTLoadedData &d2) const |
| UTLoadedData * | FindAncestor (UTString tn) |
| UTLoadedData * | FindDescendant (UTString tn) |
| UTLoadedData * | FindLinkAncestor (UTString tn) |
| UTLoadedData * | FindLinkDescendant (UTString tn) |
| void | EnumLinkAncestor (std::vector< UTLoadedDatas > &res, UTString tn) |
| void | EnumLinkDescendant (std::vector< UTLoadedDatas > &res, UTString tn) |
| void | Print (std::ostream &os) |
Public 変数 | |
| UTRef< UTFileMap > | fileInfo |
| ファイル情報 | |
| const char * | filePos |
| ファイル内での位置 | |
| UTLoadedData * | parent |
| 親ノード | |
| UTLoadedDataRefs | children |
| 子ノード | |
| UTLoadedDatas | linkFrom |
| 参照元ノード | |
| UTLoadedDatas | linkTo |
| 参照先ノード | |
| UTTypeDesc * | type |
| 型 | |
| void * | data |
| ロードしたディスクリプタ | |
| UTString | str |
| ロード内容の文字列.型情報がない場合に使う. | |
| bool | haveData |
| dataを所有するかどうか | |
| UTRef< UTNameManagerForData > | nameMan |
| typeがNameManagerの派生クラスの場合だけ,Data用NameMangerを持つ | |
| UTLoadedData * | man |
| このデータの名前を管理するNameMangerを持つデータ | |
| ObjectIfs | loadedObjects |
| このデータから作られたオブジェクトたち | |
Protected 変数 | |
| Attributes | attributes |
| 属性 | |
フレンド | |
| class | UTNameManagerForData |