#include <dataset.h>
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 Dataset & | operator= (const Dataset &v) |
Assignment operator. | |
void | setName (String name) |
String | getName () const |
void | setType (String type) |
String | getType () const |
void | setComposite (Composite *composite) |
Composite * | getComposite () const |
void | dump (std::ostream &s, Size depth) const |
Protected Attributes | |
Composite * | composite_ |
String | name_ |
String | type_ |
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:
|
Default Constructor.
|
|
Copy constructor.
|
|
Destructor.
|
|
Explicit default initialization.
|
|
Assignment operator. Calls set. |
|
Assignment.
|