UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
DomainSet Class Reference

#include <DmnSet.hpp>

Inheritance diagram for DomainSet:
SerialThis

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)
 

Detailed Description

Handy way to define new record type is to list of domains and pass it to RecDef constructor.

Member Function Documentation

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 void DomainSet::deserialize ( InputStream ist)
virtual

Get the record definition from given stream; does not clean previously defined domains!!!

Reimplemented from SerialThis.

virtual void DomainSet::serialize ( OutputStream ost) const
virtual

Put the record definition to given stream

Reimplemented from SerialThis.


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