XMLInput Class Reference

Inheritance diagram for XMLInput:
Inheritance graph
[legend]
Collaboration diagram for XMLInput:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 XMLInput (OptionManager &mgr)
virtual void setConfigInfo (const std::string &filename)
 Override from FrameIstream;.
virtual bool setFrameNumber (int n)
 Set the current frame number and remember it.
virtual GenericFrameSpec peekFrameSpec ()
 Peek at the specifications of the next frame to be read.
virtual GenericFrame readFrame ()
 Get a frame from the xmlfile in the same order as in the file.

Detailed Description

Definition at line 48 of file XMLInput.H.


Member Function Documentation

GenericFrameSpec XMLInput::peekFrameSpec (  )  [virtual]

Peek at the specifications of the next frame to be read.

Implements FrameIstream.

Definition at line 110 of file XMLInput.C.

References GenericFrame::RGB_U8.

GenericFrame XMLInput::readFrame (  )  [virtual]

Get a frame from the xmlfile in the same order as in the file.

Implements FrameIstream.

Definition at line 124 of file XMLInput.C.

References GenericFrame::addMetaData(), findBoundingRect(), rutz::shared_ptr< T >::get(), Image< T >::getDims(), OModelParam< T >::getVal(), Dims::isEmpty(), rescale(), and writeText().

void XMLInput::setConfigInfo ( const std::string filename  )  [virtual]

Override from FrameIstream;.

Reimplemented from FrameIstream.

Definition at line 85 of file XMLInput.C.

References rutz::shared_ptr< T >::get(), and rutz::shared_ptr< T >::reset().

bool XMLInput::setFrameNumber ( int  n  )  [virtual]

Set the current frame number and remember it.

Reimplemented from FrameIstream.

Definition at line 100 of file XMLInput.C.

References ASSERT.


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:44:03 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3