Chemical Data Processing Library C++ API - Version 1.2.0
|
Contains core framework classes and functions. More...
Classes | |
class | Any |
A safe, type checked container for arbitrary data of variable type. More... | |
class | ControlParameterContainer |
A class providing methods for the storage and lookup of control-parameter values. More... | |
class | ControlParameterList |
A data structure for the storage and lookup of control-parameter values. More... | |
class | DataFormat |
Provides meta-information about a particular data storage format. More... | |
class | DataInputHandler |
A factory interface providing methods for the creation of Base::DataReader instances handling a particular object type and storage format. More... | |
class | DataIOBase |
Provides infrastructure for the registration of I/O callback functions. More... | |
class | DataIOManager |
A singleton class that serves as a global registry for Base::DataInputHandler and Base::DataOutputHandler implementation instances. More... | |
class | DataOutputHandler |
A factory interface providing methods for the creation of Base::DataWriter instances handling a particular object type and storage format. More... | |
class | DataReader |
An interface for reading data objects of a given type from an arbitrary data source. More... | |
class | DataWriter |
An interface for writing data objects of a given type to an arbitrary data sink. More... | |
class | Exception |
The root of the CDPL exception hierarchy. More... | |
class | ValueError |
Thrown to indicate errors caused by some invalid value. More... | |
class | NullPointerException |
Thrown when an operation requires or expects a valid pointer but a null pointer was provided. More... | |
class | RangeError |
Thrown to indicate that a value is out of range. More... | |
class | SizeError |
Thrown to indicate that the size of a (multidimensional) array is not correct. More... | |
class | IndexError |
Thrown to indicate that an index is out of range. More... | |
class | ItemNotFound |
Thrown to indicate that some requested data item could not be found. More... | |
class | BadCast |
Thrown to indicate that a cast or conversion from a given source type to a requested target type is not possible. More... | |
class | OperationFailed |
Thrown to indicate that some requested operation has failed (e.g. due to unfulfilled preconditions or other errors). More... | |
class | CalculationFailed |
Thrown to indicate that some requested calculation has failed. More... | |
class | IOError |
Thrown to indicate that an I/O operation has failed because of physical (e.g. broken pipe) or logical (e.g. invalid file format) errors. More... | |
class | LookupKey |
An unique lookup key for control-parameter and property values. More... | |
class | PropertyContainer |
A class providing methods for the storage and lookup of object properties. More... | |
Functions | |
template<typename T > | |
DataReader< T > & | operator>> (DataReader< T > &reader, T &obj) |
An input operator that reads the next data record by means of the Base::DataReader instance reader into the data object obj. More... | |
template<typename T > | |
DataWriter< T > & | operator<< (DataWriter< T > &writer, const T &obj) |
An output operator that outputs the data object obj by means of the Base::DataWriter instance writer. More... | |
Contains core framework classes and functions.
DataReader<T>& CDPL::Base::operator>> | ( | DataReader< T > & | reader, |
T & | obj | ||
) |
An input operator that reads the next data record by means of the Base::DataReader instance reader into the data object obj.
reader | The Base::DataReader instance to use for data input. |
obj | The object storing the read data. |
Base::IOError | if an I/O error occurred. |
DataWriter<T>& CDPL::Base::operator<< | ( | DataWriter< T > & | writer, |
const T & | obj | ||
) |
An output operator that outputs the data object obj by means of the Base::DataWriter instance writer.
writer | The Base::DataWriter instance to use for data output. |
obj | The object storing the data to write. |
Base::IOError | if an I/O error occurred. |