|
Chemical Data Processing Library C++ API - Version 1.1.1
|
Go to the documentation of this file.
29 #ifndef CDPL_VIS_SIZESPECIFICATION_HPP
30 #define CDPL_VIS_SIZESPECIFICATION_HPP
56 SizeSpecification(
double value = 0.0,
bool relative =
false,
bool input_scaling =
false,
bool output_scaling =
false):
57 value(value), relative(relative), inputScaling(input_scaling), outputScaling(output_scaling) {}
152 #endif // CDPL_VIS_SIZESPECIFICATION_HPP
Specifies the value and type of a size attribute and defines how the value may change during processi...
Definition: SizeSpecification.hpp:45
double getValue() const
Returns the value of the specified size.
bool operator==(const SizeSpecification &spec) const
Equality comparison operator.
void setValue(double value)
Sets value of the specified size.
SizeSpecification(double value=0.0, bool relative=false, bool input_scaling=false, bool output_scaling=false)
Constructs a SizeSpecification object with the given attributes.
Definition: SizeSpecification.hpp:56
bool followsInputScaling() const
Tells if the specified size follows input scaling operations.
#define CDPL_VIS_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
void setRelative(bool relative)
Specifies if the size specification is absolute or relative to another size.
The namespace of the Chemical Data Processing Library.
bool followsOutputScaling() const
Tells if the specified size follows output scaling operations.
bool operator!=(const SizeSpecification &spec) const
Inequality comparison operator.
Definition of the preprocessor macro CDPL_VIS_API.
void followInputScaling(bool follow)
Specifies whether the specified size has to follow input scaling operations.
bool isRelative() const
Tells if the size specification is absolute or relative to another size.
void followOutputScaling(bool follow)
Specifies whether the specified size has to follow output scaling operations.