Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

XMLInput Class Reference

Inheritance diagram for XMLInput:

Inheritance graph
[legend]
Collaboration diagram for XMLInput:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 46 of file XMLInput.H.

Public Member Functions

 XMLInput (OptionManager &mgr)
 ~XMLInput ()
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.


Member Function Documentation

GenericFrameSpec XMLInput::peekFrameSpec  )  [virtual]
 

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

Implements FrameIstream.

Definition at line 79 of file XMLInput.C.

References GenericFrameSpec::dims, GenericFrameSpec::floatFlags, GenericFrameSpec::nativeType, GenericFrame::RGB_U8, GenericFrameSpec::videoByteSwap, and GenericFrameSpec::videoFormat.

GenericFrame XMLInput::readFrame  )  [virtual]
 

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

Implements FrameIstream.

Definition at line 93 of file XMLInput.C.

References GenericFrame::addMetaData(), TestImages::SceneData::description, TestImages::SceneData::dims, TestImages::SceneData::filename, frame, rutz::shared_ptr< T >::get(), Image< T >::getDims(), Dims::isEmpty(), LFATAL, LINFO, TestImages::SceneData::objects, rescale(), TestImages::SceneData::type, and TestImages::SceneData::useType.

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

Override from FrameIstream;.

Reimplemented from FrameIstream.

Definition at line 55 of file XMLInput.C.

References rutz::shared_ptr< T >::get(), LINFO, 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 69 of file XMLInput.C.

References ASSERT.


The documentation for this class was generated from the following files:
Generated on Fri Nov 21 10:44:51 2008 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4