Bag holding streamable features of a nodetree.
More...
#include <Persistence.h>
Bag holding streamable features of a nodetree.
Definition at line 56 of file Persistence.h.
◆ CFeatureBag() [1/2]
GENAPI_NAMESPACE::CFeatureBag::CFeatureBag |
( |
| ) |
|
◆ CFeatureBag() [2/2]
GENAPI_NAMESPACE::CFeatureBag::CFeatureBag |
( |
const CFeatureBag & |
| ) |
|
◆ ~CFeatureBag()
virtual GENAPI_NAMESPACE::CFeatureBag::~CFeatureBag |
( |
| ) |
|
|
virtual |
◆ AllocateSelector()
◆ Clear()
void GENAPI_NAMESPACE::CFeatureBag::Clear |
( |
| ) |
|
|
private |
◆ DeleteSelector()
void GENAPI_NAMESPACE::CFeatureBag::DeleteSelector |
( |
CSelectorState *& |
p | ) |
|
|
private |
◆ Destroy()
virtual void GENAPI_NAMESPACE::CFeatureBag::Destroy |
( |
| ) |
|
|
virtual |
◆ GetBagName()
◆ GetBegin() [1/2]
◆ GetBegin() [2/2]
◆ GetEnd() [1/2]
◆ GetEnd() [2/2]
◆ GetInfo()
◆ LoadFromBag()
bool GENAPI_NAMESPACE::CFeatureBag::LoadFromBag |
( |
INodeMap * |
pNodeMap, |
|
|
bool |
Verify = true , |
|
|
GENICAM_NAMESPACE::gcstring_vector * |
pErrorList = NULL |
|
) |
| |
Loads the features from the bag to the node tree.
- Parameters
-
pNodeMap | The node map to load into |
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.
◆ LoadFromBagInternal()
bool GENAPI_NAMESPACE::CFeatureBag::LoadFromBagInternal |
( |
INodeMap * |
pNodeMap, |
|
|
bool |
Verify, |
|
|
GENICAM_NAMESPACE::gcstring_vector * |
pErrorList = NULL |
|
) |
| |
|
private |
◆ operator=()
◆ operator==()
bool GENAPI_NAMESPACE::CFeatureBag::operator== |
( |
const CFeatureBag & |
FeatureBag | ) |
const |
compares the content of two feature bags
◆ PersistFeature()
virtual void GENAPI_NAMESPACE::CFeatureBag::PersistFeature |
( |
IValue & |
item, |
|
|
CSelectorSet * |
selectorSet = NULL |
|
) |
| |
|
virtual |
◆ Push()
void GENAPI_NAMESPACE::CFeatureBag::Push |
( |
const char * |
name, |
|
|
const char * |
value, |
|
|
CSelectorState * |
ps |
|
) |
| |
|
private |
◆ SetBagName()
◆ SetInfo()
sets information about the node map
◆ StoreToBag()
int64_t GENAPI_NAMESPACE::CFeatureBag::StoreToBag |
( |
INodeMap * |
pNodeMap, |
|
|
const int |
MaxNumPersistSkriptEntries = -1 , |
|
|
GENICAM_NAMESPACE::gcstring_vector * |
pFeatureFilter = NULL |
|
) |
| |
Stores the streamable nodes to this feature bag.
- Parameters
-
pNodeMap | The node map to persist |
MaxNumPersistSkriptEntries | The max number of entries in the container; -1 means unlimited |
pFeatureFilter | List of valid feature; all feature if NULL. |
- Returns
- number of entries in the bag
◆ StoreToBagInternal()
int64_t GENAPI_NAMESPACE::CFeatureBag::StoreToBagInternal |
( |
INodeMap * |
pNodeMap, |
|
|
const int |
MaxNumPersistSkriptEntries = -1 , |
|
|
GENICAM_NAMESPACE::gcstring_vector * |
pFeatureFilter = NULL |
|
) |
| |
|
private |
◆ ToString()
◆ CFeatureBagger
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const CFeatureBag & |
FeatureBag |
|
) |
| |
|
friend |
◆ operator>>
std::istream& operator>> |
( |
std::istream & |
is, |
|
|
CFeatureBag & |
FeatureBag |
|
) |
| |
|
friend |
◆ m_pImpl
FeatureBagImpl* GENAPI_NAMESPACE::CFeatureBag::m_pImpl |
|
private |
The documentation for this class was generated from the following file: