Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members

VIEW::Dataset Class Reference

Baseclass for datasets. More...

#include <dataset.h>

List of all members.

Public Member Functions

Constructors and Destructors
 Dataset ()
 Default Constructor.
 Dataset (const Dataset &dataset)
 Copy constructor.
virtual ~Dataset ()
 Destructor.
virtual void clear ()
 Explicit default initialization.
Assignment methods
void set (const Dataset &v)
 Assignment.
const Datasetoperator= (const Dataset &v)
 Assignment operator.
void setName (String name)
String getName () const
void setType (String type)
String getType () const
void setComposite (Composite *composite)
CompositegetComposite () const
void dump (std::ostream &s, Size depth) const

Protected Attributes

Compositecomposite_
String name_
String type_


Detailed Description

Baseclass for datasets.

Datasets are used to incorporate any kind of data and make it accessible through the DatasetControl. The data is stored as a void pointer and casted to its real type in the corresponding Contoller class. A dataset has the following attributes:

<bf>NOTE:</bf> The data will not be deleted, when the Dataset is deleted. This has to be done in the DatasetController, since only it knows what kind of object is contained!
See also:
DatasetControl

DatasetController


Constructor & Destructor Documentation

VIEW::Dataset::Dataset  ) 
 

Default Constructor.

VIEW::Dataset::Dataset const Dataset dataset  ) 
 

Copy constructor.

virtual VIEW::Dataset::~Dataset  )  [virtual]
 

Destructor.


Member Function Documentation

virtual void VIEW::Dataset::clear  )  [virtual]
 

Explicit default initialization.

const Dataset& VIEW::Dataset::operator= const Dataset v  ) 
 

Assignment operator.

Calls set.

void VIEW::Dataset::set const Dataset v  ) 
 

Assignment.