PiPo
Plug In Plug Out / Plugin Interface for Processing Objects
PiPoVarSizeAttr< TYPE > Class Template Reference
Inheritance diagram for PiPoVarSizeAttr< TYPE >:
PiPo::Attr

Public Member Functions

 PiPoVarSizeAttr (PiPo *pipo, const char *name, const char *descr, bool changesStream, unsigned int size=0, TYPE initVal=(TYPE) 0)
 
void clone (Attr *other)
 
unsigned int setSize (unsigned int size)
 
unsigned int getSize (void)
 
void set (unsigned int i, int val, bool silently=false)
 
void set (unsigned int i, double val, bool silently=false)
 
void set (unsigned int i, const char *val, bool silently=false)
 
int getInt (unsigned int i)
 
double getDbl (unsigned int i)
 
const char * getStr (unsigned int i)
 
TYPE * getPtr ()
 
- Public Member Functions inherited from PiPo::Attr
 Attr (PiPo *pipo, const char *name, const char *descr, const std::type_info *type, bool changesStream)
 
void setIndex (unsigned int index)
 
void setName (const char *name)
 
void setDescr (const char *descr)
 
unsigned int getIndex (void)
 
const char * getName (void)
 
const char * getDescr (void)
 
enum Type getType (void)
 
bool doesChangeStream (void)
 
virtual void clone (Attr *other)=0
 
virtual std::vector< const char * > * getEnumList (void)
 
void changed (bool silently=false)
 
void rename (const char *name)