|
Pol
Rev 533
|
#include <xmlfilescrobj.h>
Inheritance diagram for BXMLfile:
Collaboration diagram for BXMLfile:Public Member Functions | |
| BXMLfile () | |
| BXMLfile (std::string filename) | |
| ~BXMLfile () | |
| virtual BObjectImp * | call_method (const char *methodname, Executor &ex) |
| virtual BObjectImp * | call_method_id (const int id, Executor &ex, bool forcebuiltin=false) |
| virtual BObjectImp * | copy () const |
| ContIterator * | createIterator (BObject *pIterVal) |
| virtual BObjectRef | get_member (const char *membername) |
| virtual BObjectRef | get_member_id (const int id) |
| virtual std::string | getStringRep () const |
| virtual bool | isTrue () const |
| virtual BObjectRef | OperSubscript (const BObject &obj) |
| virtual size_t | sizeEstimate () const |
| virtual const char * | typeOf () const |
| virtual int | typeOfInt () const |
Private Attributes | |
| std::string | _filename |
| TiXmlDocument | file |
Definition at line 45 of file xmlfilescrobj.h.
Definition at line 28 of file xmlfilescrobj.cpp.
Referenced by copy().
Here is the caller graph for this function:| BXMLfile::BXMLfile | ( | std::string | filename | ) |
Definition at line 34 of file xmlfilescrobj.cpp.
References file.
Definition at line 42 of file xmlfilescrobj.cpp.
| BObjectImp * BXMLfile::call_method | ( | const char * | methodname, |
| Executor & | ex | ||
| ) | [virtual] |
Reimplemented from BObjectImp.
Definition at line 64 of file xmlfilescrobj.cpp.
References call_method_id(), getKnownObjMethod(), and ObjMethod::id.
Here is the call graph for this function:| BObjectImp * BXMLfile::call_method_id | ( | const int | id, |
| Executor & | ex, | ||
| bool | forcebuiltin = false |
||
| ) | [virtual] |
Reimplemented from BObjectImp.
Definition at line 73 of file xmlfilescrobj.cpp.
References BStruct::contents(), Package::dir(), explicit_cast(), file, BXmlNode::getNode(), Executor::getParamImp(), Executor::getStringParam(), BObjectImp::getStringRep(), Executor::hasParams(), HasWriteAccess(), BObjectImp::isa(), MTH_APPENDNODE, MTH_APPENDXMLCOMMENT, MTH_REMOVENODE, MTH_SAVEXML, MTH_SETDECLARATION, MTH_XMLTOSTRING, BObjectImp::OTDouble, BObjectImp::OTLong, BObjectImp::OTString, BObjectImp::OTStruct, BObjectImp::OTXMLNode, EScriptProgram::pkg, pkgdef_split(), Executor::prog(), String::value(), and BLong::value().
Referenced by call_method().
Here is the call graph for this function:
Here is the caller graph for this function:| BObjectImp * BXMLfile::copy | ( | void | ) | const [virtual] |
Implements BObjectImp.
Definition at line 229 of file xmlfilescrobj.cpp.
References _filename, and BXMLfile().
Here is the call graph for this function:| ContIterator* BXMLfile::createIterator | ( | BObject * | pIterVal | ) | [inline, virtual] |
| BObjectRef BXMLfile::get_member | ( | const char * | membername | ) | [virtual] |
Reimplemented from BObjectImp.
Definition at line 55 of file xmlfilescrobj.cpp.
References UninitObject::create(), get_member_id(), getKnownObjMember(), and ObjMember::id.
Here is the call graph for this function:| BObjectRef BXMLfile::get_member_id | ( | const int | id | ) | [virtual] |
Reimplemented from BObjectImp.
Definition at line 46 of file xmlfilescrobj.cpp.
References UninitObject::create().
Referenced by get_member().
Here is the call graph for this function:
Here is the caller graph for this function:| std::string BXMLfile::getStringRep | ( | ) | const [virtual] |
Implements BObjectImp.
Definition at line 234 of file xmlfilescrobj.cpp.
References _filename, file, OSTRINGSTREAM, and OSTRINGSTREAM_STR.
| bool BXMLfile::isTrue | ( | void | ) | const [virtual] |
| BObjectRef BXMLfile::OperSubscript | ( | const BObject & | obj | ) | [virtual] |
Reimplemented from BObjectImp.
Definition at line 250 of file xmlfilescrobj.cpp.
References file, BObject::impptr(), BObject::impref(), BObjectImp::isa(), BObjectImp::OTLong, BObjectImp::OTString, String::value(), and BLong::value().
Here is the call graph for this function:| virtual size_t BXMLfile::sizeEstimate | ( | ) | const [inline, virtual] |
Implements BObjectImp.
Definition at line 57 of file xmlfilescrobj.h.
| virtual const char* BXMLfile::typeOf | ( | ) | const [inline, virtual] |
Reimplemented from BObjectImp.
Definition at line 58 of file xmlfilescrobj.h.
| virtual int BXMLfile::typeOfInt | ( | ) | const [inline, virtual] |
Reimplemented from BObjectImp.
Definition at line 59 of file xmlfilescrobj.h.
References BObjectImp::OTXMLFile.
std::string BXMLfile::_filename [private] |
Definition at line 69 of file xmlfilescrobj.h.
Referenced by copy(), and getStringRep().
TiXmlDocument BXMLfile::file [private] |
Definition at line 68 of file xmlfilescrobj.h.
Referenced by BXMLfile(), call_method_id(), createIterator(), getStringRep(), isTrue(), and OperSubscript().