Definition of interface IPersistScript and class CFeatureBag.
More...
Go to the source code of this file.
|
|
#define | GENAPI_PERSISTENCE_MAGIC "{05D8C294-F295-4dfb-9D01-096BD04049F4}" |
| | the magic GUID which indicates that the file or buffer is a GenApi stream created by the CFeatureBag class. Must be the first entry of a file or section.
|
| |
|
#define | GENAPI_PERSISTENCE_MAGIC_FEATUREBAGGER "{4709CB3C-7322-4460-84C3-DA11DDA09939}" |
| | the magic GUID which indicates that the file is a GenApi stream file created by the CFeatureBagger class. Must be the first entry of a file.
|
| |
|
|
virtual void | PersistFeature (IValue &item, CSelectorSet *selectorSet=NULL)=0 |
| | Stores a feature.
|
| |
|
std::istream & | EatComments (std::istream &is) |
| | Helper function ignoring lines starting with comment character '#'.
|
| |
|
char * | TrimSpace (char *Name, std::istream &is) |
| | Helper function cutting off space characters.
|
| |
| std::istream & | operator>> (std::istream &is, CFeatureBag &FeatureBag) |
| | reads in persistent data from a stream
|
| |
| std::ostream & | operator<< (std::ostream &os, const CFeatureBag &FeatureBag) |
| | writes out persistent data to a stream
|
| |
| std::ostream & | operator<< (std::ostream &os, const CFeatureBagger &featureBagger) |
| | writes out persistent data to a stream
|
| |
| std::istream & | operator>> (std::istream &is, CFeatureBagger &featureBagger) |
| | reads back persistent data from a stream
|
| |
|
|
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT | IPersistScript |
| | Basic interface to persist values to.
|
| |
◆ operator>>() [1/2]
| std::istream & operator>> |
( |
std::istream & | is, |
|
|
CFeatureBag & | FeatureBag ) |
fills the bag from a stream
◆ operator<<() [1/2]
| std::ostream & operator<< |
( |
std::ostream & | os, |
|
|
const CFeatureBag & | FeatureBag ) |
puts the bag into a stream
◆ operator<<() [2/2]
| std::ostream & operator<< |
( |
std::ostream & | os, |
|
|
const CFeatureBagger & | featureBagger ) |
puts the bags into a stream
◆ operator>>() [2/2]
| std::istream & operator>> |
( |
std::istream & | is, |
|
|
CFeatureBagger & | featureBagger ) |
reads the bags from a stream