BALL::VIEW::Dataset Class Reference

#include <BALL/VIEW/DATATYPE/dataset.h>

List of all members.

Public Member Functions

Constructors and Destructors

 Dataset ()
 Dataset (const Dataset &dataset)
virtual ~Dataset ()
virtual void clear ()
Assignment methods

void set (const Dataset &v)
const Datasetoperator= (const Dataset &v)
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

Definition at line 58 of file dataset.h.


Constructor & Destructor Documentation

BALL::VIEW::Dataset::Dataset (  ) 

Default Constructor.

BALL::VIEW::Dataset::Dataset ( const Dataset dataset  ) 

Copy constructor.

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

Destructor.


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]

Definition at line 112 of file dataset.h.

String BALL::VIEW::Dataset::getName (  )  const [inline]

Definition at line 100 of file dataset.h.

String BALL::VIEW::Dataset::getType (  )  const [inline]

Definition at line 106 of file dataset.h.

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

Assignment operator. Calls set.

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

Assignment.

void BALL::VIEW::Dataset::setComposite ( Composite composite  )  [inline]

Definition at line 109 of file dataset.h.

void BALL::VIEW::Dataset::setName ( String  name  )  [inline]

Definition at line 97 of file dataset.h.

void BALL::VIEW::Dataset::setType ( String  type  )  [inline]

Definition at line 103 of file dataset.h.


Member Data Documentation

Definition at line 121 of file dataset.h.

Definition at line 122 of file dataset.h.

Definition at line 123 of file dataset.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Generated by  doxygen 1.6.3