CCA
cca::DataTransferObject Class Reference

Base data transfer object, representing domain-specific data. More...

#include <DataTransferObject.h>

Inheritance diagram for cca::DataTransferObject:

List of all members.

Public Member Functions

virtual std::string print () const
 Prints the DataTransferObject.

Protected Member Functions

 DataTransferObject ()
 Implement this method and return a human-readable class name.
virtual ~DataTransferObject ()

Detailed Description

Base data transfer object, representing domain-specific data.

All inheriting classes should use the International System of Units (SI) as default data representation.

Todo:

overload operators (+=, -=, *= (), [])

provide friend operators (+, -, *, /, !=, ==)

Definition at line 60 of file DataTransferObject.h.


Constructor & Destructor Documentation

Implement this method and return a human-readable class name.

This method should always return the same class name. Its existence is an admission to missing RTTI functionalities in C++.

Returns:
human-readable name of the class. This method does the actual printing of class debug information and should be overridden in subclasses.
Parameters:
streamstream to print on Constructor Initializes DTO with specified dimension.

Definition at line 97 of file DataTransferObject.h.

virtual cca::DataTransferObject::~DataTransferObject ( ) [inline, protected, virtual]

Definition at line 100 of file DataTransferObject.h.


Member Function Documentation

virtual std::string cca::DataTransferObject::print ( ) const [inline, virtual]

Prints the DataTransferObject.

Returns:
DataTranserObject as String

Reimplemented in cca::Configuration, cca::ComponentState, cca::timing::Tick, cca::ComponentInfo, and cca::DebugDTO.

Definition at line 69 of file DataTransferObject.h.

Referenced by cca::operator<<().

Here is the caller graph for this function:


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