BALL::VIEW::Dataset Class Reference
#include <BALL/VIEW/DATATYPE/dataset.h>
List of all members.
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:
-
a type, used for the cast
-
a name, used for the entry in the DatasetControl
-
a Composite pointer to know its corresponding molecular entity
-
the void pointer for access to the data
<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
BALL::VIEW::Dataset::Dataset |
( |
|
) |
|
BALL::VIEW::Dataset::Dataset |
( |
const Dataset & |
dataset |
) |
|
virtual BALL::VIEW::Dataset::~Dataset |
( |
|
) |
[virtual] |
Member Function Documentation
virtual void BALL::VIEW::Dataset::clear |
( |
|
) |
[virtual] |
Explicit default initialization.
void BALL::VIEW::Dataset::dump |
( |
std::ostream & |
s, |
|
|
Size |
depth | |
|
) |
| | const |
Composite* BALL::VIEW::Dataset::getComposite |
( |
|
) |
const [inline] |
String BALL::VIEW::Dataset::getName |
( |
|
) |
const [inline] |
String BALL::VIEW::Dataset::getType |
( |
|
) |
const [inline] |
Assignment operator. Calls set.
void BALL::VIEW::Dataset::set |
( |
const Dataset & |
v |
) |
|
void BALL::VIEW::Dataset::setComposite |
( |
Composite * |
composite |
) |
[inline] |
void BALL::VIEW::Dataset::setName |
( |
String |
name |
) |
[inline] |
void BALL::VIEW::Dataset::setType |
( |
String |
type |
) |
[inline] |
Member Data Documentation