BTK  0.3dev.0
Open-source library to visualize/process biomechanical data
List of all members | Public Types | Public Member Functions
btk::AcquisitionFileIO::Extensions Class Reference

List of AcquisitionFileIO::Extension object. More...

Public Types

typedef std::list< Extension >
::const_iterator 
ConstIterator
 
typedef std::list< Extension >
::iterator 
Iterator
 

Public Member Functions

void Append (const Extensions &items)
 
Iterator Begin ()
 
ConstIterator Begin () const
 
Iterator End ()
 
ConstIterator End () const
 
 Extensions ()
 
int GetSize () const
 
Extensionsoperator<< (const std::string &name)
 
Extensionsoperator<< (const Extension &item)
 
Extensionsoperator| (const Extension &item)
 

Detailed Description

List of AcquisitionFileIO::Extension object.

Note
This class should not be used. The macro BTK_FILE_IO_SUPPORTED_EXTENSIONS embedded the construction of list of extensions. To set several extensions for a same acquisition file IO, you can use the operator AcquisitionFileIO::Extensions::operator|() For example:
* class FooFileIO : public AcquisitionFileIO
* {
* BTK_FILE_IO_SUPPORTED_EXTENSIONS(Extension("FOO") | Extension("BAR"));
* public:
* // ...
* };
*

Member Typedef Documentation

Const iterator for items contained in the Extensions object.

Iterator for items contained in the Extensions object.

Constructor & Destructor Documentation

btk::AcquisitionFileIO::Extensions::Extensions ( )
inline

Simple constructor which initiate an empty list of extensions.

Member Function Documentation

void btk::AcquisitionFileIO::Extensions::Append ( const Extensions items)
inline

Append a list of extensions to this list.

AcquisitionFileIO::Extensions::Iterator btk::AcquisitionFileIO::Extensions::Begin ( )
inline

Returns an iterator to the beginning of the list of extensions.

AcquisitionFileIO::Extensions::ConstIterator btk::AcquisitionFileIO::Extensions::Begin ( ) const
inline

Returns a const iterator to the beginning of the list of extensions.

AcquisitionFileIO::Extensions::Iterator btk::AcquisitionFileIO::Extensions::End ( )
inline

Returns an iterator just past the last extensions.

AcquisitionFileIO::Extensions::ConstIterator btk::AcquisitionFileIO::Extensions::End ( ) const
inline

Returns a const iterator just past the last extensions.

int btk::AcquisitionFileIO::Extensions::GetSize ( ) const
inline

Returns the number of extensions in the list.

AcquisitionFileIO::Extensions & btk::AcquisitionFileIO::Extensions::operator<< ( const std::string &  name)
inline

Append an extension to the list.

AcquisitionFileIO::Extensions & btk::AcquisitionFileIO::Extensions::operator<< ( const Extension item)
inline

Append an extension to the list.

AcquisitionFileIO::Extensions & btk::AcquisitionFileIO::Extensions::operator| ( const Extension item)
inline

Append an extension to the list.