class xqlObjectFactory

creates types and instances of obejcts More...

Definition#include <xql/xqlobjectfactory.h>
InheritsxqlFactory [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

creates types and instances of obejcts

 xqlObjectFactory (xqlSession * pSession)

xqlObjectFactory

 ~xqlObjectFactory ()

~xqlObjectFactory

xqlObject *  createInstance (std::string& type)

createInstance

void  createNewType (std::string& pType)

createNewType

void  addAttribute (std::string& pObject, std::string& pAttribute)

addAttribute

void  createAttribute (std::string& pClass, std::string& pName)

createAttribute

bool  setStringValue (int pInstId, std::string & pAttribute, std::string & value)

setStringValue

tries to set the attribute of a given object instance (by id) and the given attributename to a certain value. if this operation fails, it just returns false (no exception is risen)

bool  setIntValue (int pInstId, std::string & pAttribute, int value)

setIntValue

xqlObject *  loadInstanceById (int pId)

loadInstanceById