UNIVERS
15.3
UNIVERS base processing software API
|
#include <DmnSet.hpp>
Public Member Functions | |
DomainSet (const DomainSet &dmnset) | |
DomainSet (const DomainAr &dmnar) | |
DomainSet (int dmns_n, const DomainDef *dmns) | |
void | add_domain (const char *name, AtomType atype, unsigned dim, CategoryId categ=UC_NONE, void *opt=NULL) |
void | add_domain (const DomainDef &ddef) |
virtual void | serialize (OutputStream &ost) const |
virtual void | deserialize (InputStream &ist) |
Public Member Functions inherited from SerialThis | |
SerialThis () | |
SerialThis (InputStream &ist) | |
Handy way to define new record type is to list of domains and pass it to RecDef constructor.
void DomainSet::add_domain | ( | const char * | name, |
AtomType | atype, | ||
unsigned | dim, | ||
CategoryId | categ = UC_NONE , |
||
void * | opt = NULL |
||
) |
Add domain in a handy way
void DomainSet::add_domain | ( | const DomainDef & | ddef | ) |
Add given domain
|
virtual |
Get the record definition from given stream; does not clean previously defined domains!!!
Reimplemented from SerialThis.
|
virtual |
Put the record definition to given stream
Reimplemented from SerialThis.