Class use to bag features.
More...
#include <Persistence.h>
Class use to bag features.
Definition at line 221 of file Persistence.h.
GENAPI_NAMESPACE::CFeatureBagger::CFeatureBagger |
( |
| ) |
|
|
explicit |
virtual GENAPI_NAMESPACE::CFeatureBagger::~CFeatureBagger |
( |
| ) |
|
|
virtual |
virtual const CFeatureBag& GENAPI_NAMESPACE::CFeatureBagger::at |
( |
size_t |
uiIndex | ) |
const |
|
virtual |
size_t GENAPI_NAMESPACE::CFeatureBagger::Bag |
( |
INodeMap * |
pNodeMap, |
|
|
bool |
handleDefaultNodeMap = true , |
|
|
bool |
handleUserSets = false , |
|
|
bool |
handleSequencerSets = false , |
|
|
const int |
MaxNumPersistSkriptEntries = -1 |
|
) |
| |
Stores the streamable nodes to this feature bags in different device configurations.
- Parameters
-
handleDefaultNodeMap | Stores the current nodemap if True |
handleUserSets | Store all user sets if True |
handleSequencerSets | Store all sequencer sets if True |
pNodeMap | The node map to persist |
MaxNumPersistSkriptEntries | The max number of entries in the container. -1 means unlimited |
- Returns
- number of bags
virtual const_iterator GENAPI_NAMESPACE::CFeatureBagger::begin |
( |
void |
| ) |
const |
|
virtual |
void GENAPI_NAMESPACE::CFeatureBagger::DeleteAllBags |
( |
void |
| ) |
|
|
private |
virtual const_iterator GENAPI_NAMESPACE::CFeatureBagger::end |
( |
void |
| ) |
const |
|
virtual |
sets information about the node map
virtual size_t GENAPI_NAMESPACE::CFeatureBagger::size |
( |
void |
| ) |
const |
|
virtual |
bool GENAPI_NAMESPACE::CFeatureBagger::UnBag |
( |
INodeMap * |
pNodeMap, |
|
|
bool |
Verify = true , |
|
|
GENICAM_NAMESPACE::gcstring_vector * |
pErrorList = NULL |
|
) |
| |
Loads the features from the bag to the node tree.
- Parameters
-
Verify | If true, all streamable features are read back |
pErrorList | If an error occurs during loading the error message is stored in the list and the loading continues |
For Verify=true the list of names in the feature bag is replayed again. If a node is a selector it's value is set to the value from the feature bag If not the value is read from the camera and compared with the value from the feature bag.
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const CFeatureBagger & |
featureBagger |
|
) |
| |
|
friend |
std::istream& operator>> |
( |
std::istream & |
is, |
|
|
CFeatureBagger & |
featureBagger |
|
) |
| |
|
friend |
void* GENAPI_NAMESPACE::CFeatureBagger::m_pBags |
|
private |
The documentation for this class was generated from the following file: