blockfactory
0.8
A framework for wrapping algorithms for dataflow programming
|
Class for storing parameter metadata. More...
#include <Parameter.h>
Class for storing parameter metadata.
A metadata must be constructed with an index and a name, and they cannot be changed afterwards. Only bool, int, double or std::string types are currently supported.
Public Types | |
enum | { DynamicSize = -1 } |
Public Member Functions | |
ParameterMetadata ()=delete | |
~ParameterMetadata ()=default | |
ParameterMetadata (const ParameterType &t, const unsigned &ParamIndex, const int ¶mRows, const int ¶mCols, const std::string &ParamName={}) | |
ParameterMetadata (const ParameterMetadata ¶mMD) | |
ParameterMetadata (ParameterMetadata &¶mMD) | |
ParameterMetadata & | operator= (const ParameterMetadata ¶mMD) |
ParameterMetadata & | operator= (ParameterMetadata &¶mMD) |
bool | operator== (const ParameterMetadata &rhs) const |
bool | operator!= (const ParameterMetadata &rhs) const |
Public Attributes | |
const unsigned | index |
const std::string | name |
int | rows |
int | cols |
blockfactory::core::ParameterType | type |
|
delete |
|
default |
blockfactory::core::ParameterMetadata::ParameterMetadata | ( | const ParameterType & | t, |
const unsigned & | ParamIndex, | ||
const int & | paramRows, | ||
const int & | paramCols, | ||
const std::string & | ParamName = {} |
||
) |
blockfactory::core::ParameterMetadata::ParameterMetadata | ( | const ParameterMetadata & | paramMD | ) |
blockfactory::core::ParameterMetadata::ParameterMetadata | ( | ParameterMetadata && | paramMD | ) |
|
inline |
ParameterMetadata& blockfactory::core::ParameterMetadata::operator= | ( | const ParameterMetadata & | paramMD | ) |
ParameterMetadata& blockfactory::core::ParameterMetadata::operator= | ( | ParameterMetadata && | paramMD | ) |
bool blockfactory::core::ParameterMetadata::operator== | ( | const ParameterMetadata & | rhs | ) | const |
int blockfactory::core::ParameterMetadata::cols |
const unsigned blockfactory::core::ParameterMetadata::index |
const std::string blockfactory::core::ParameterMetadata::name |
int blockfactory::core::ParameterMetadata::rows |
blockfactory::core::ParameterType blockfactory::core::ParameterMetadata::type |