#include <property.h>
Public Types | |
typedef PropertyIterator | iterator |
Public Member Functions | |
Property (PropertySet *parent) | |
Property (const Property &toCopy) | |
Property & | operator= (const Property &toCopy) |
~Property () | |
void | init (size_t rows=1, size_t cols=1, size_t epochs=1) |
void | resize (size_t rows=1, size_t cols=1, size_t epochs=1) |
void | resize (const Geometry *geom) |
const Geometry * | getGeometry () const |
iterator | begin () |
iterator | end () |
iterator | push_back () |
void | pop_back () |
size_t | size () const |
Node & | operator[] (size_t index) |
const Node & | operator[] (size_t index) const |
PropertyIterator | erase (const PropertyIterator &toErase) |
void | insert (const PropertyIterator &toInsert) |
const Node * | getMax () const |
const Node * | getMin () const |
void | save (const std::string &path) const |
void | load (const std::string &path) |
|
an iterator that iterates over all the nodes in the property |
|
constructs a property
|
|
copy constructor
|
|
destructor |
|
the first iterator
|
|
the one-past-the-end iterator for this property
|
|
erases a node from the property
|
|
|
|
returns the highest value stored anywhere in this property if no values are stored, this returns ddf::MAX_DATA |
|
|
|
sets the structure of this property and makes it a fixed geometry
|
|
inserts a node in the middle of the property
|
|
loads the property from the HDF5 file.
|
|
assignment operator
|
|
|
|
|
|
removes the last property |
|
creates a new node returns a reference to it
|
|
sets a new structure for this property. The values stored in the nodes are going to be kept as much as possible. If an aspect of the geometry became smaller then values stored in the clipped portions will be lost. If an aspect of the geometry became larger then it will be initialised to 0.
|
|
sets a new structure for this property. The values stored in the nodes are going to be kept as much as possible. If an aspect of the geometry became smaller then values stored in the clipped portions will be lost. If an aspect of the geometry became larger then it will be initialised to 0.
|
|
saves the property as a HDF5 file
|
|
the number of nodes in the property |