All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PRM_DataFactory Class Referenceabstract

#include <PRM_Parm.h>

Public Member Functions

virtual ~PRM_DataFactory ()
virtual const char * getDataTypeToken () const =0
virtual PRM_DataItemHandle loadBinary (UT_IStream &is) const =0
virtual PRM_DataItemHandle loadAscii (UT_IStream &is) const =0

Static Public Member Functions

static void install (const char *type, PRM_DataFactory *factory)
static PRM_DataItemHandle parseAscii (const char *type, UT_IStream &is)
static PRM_DataItemHandle parseBinary (const char *type, UT_IStream &is)
static PRM_DataItemHandle loadTypedAscii (UT_IStream &is)
static void saveTypedAscii (PRM_DataItemHandle item, std::ostream &os)
 Saves type:data. Empty data doesn't write anything. More...

Detailed Description

Definition at line 91 of file PRM_Parm.h.

Constructor & Destructor Documentation

virtual PRM_DataFactory::~PRM_DataFactory ( )

Definition at line 94 of file PRM_Parm.h.

Member Function Documentation

virtual const char* PRM_DataFactory::getDataTypeToken ( ) const
pure virtual
static void PRM_DataFactory::install ( const char *  type,
PRM_DataFactory factory 
virtual PRM_DataItemHandle PRM_DataFactory::loadAscii ( UT_IStream is) const
pure virtual
virtual PRM_DataItemHandle PRM_DataFactory::loadBinary ( UT_IStream is) const
pure virtual
static PRM_DataItemHandle PRM_DataFactory::loadTypedAscii ( UT_IStream is)

Loads a type:data string, the type determines which datafactory which then calls parseAscii(type, is);

static PRM_DataItemHandle PRM_DataFactory::parseAscii ( const char *  type,
UT_IStream is 
static PRM_DataItemHandle PRM_DataFactory::parseBinary ( const char *  type,
UT_IStream is 
static void PRM_DataFactory::saveTypedAscii ( PRM_DataItemHandle  item,
std::ostream &  os 

Saves type:data. Empty data doesn't write anything.

The documentation for this class was generated from the following file: