Classes | Functions
contrib/rpl/rgrl/rgrl_feature_reader.h File Reference
#include <rgrl/rgrl_feature_sptr.h>
#include <vcl_iosfwd.h>
#include <vcl_vector.h>

Go to the source code of this file.

Classes

class  rgrl_feature_reader
 Read one feature from input stream. More...

Functions

rgrl_feature_sptr rgrl_feature_reader (vcl_istream &is)
 The type of feature depends on the content of the input stream.
vcl_istream & operator>> (vcl_istream &is, rgrl_feature_sptr &sptr)
 stream input operator for reading a feature.

Detailed Description

Author:
Gehua Yang Smart reader to read in any feature
   Modifications
     Nov 2008 - J Becker - Added a class width a static read function based on rgrl_trans_reader.
                           This is to allow user to add other local-defined feature types.  For
                           backward compatibility I left the original read function.
   

Definition in file rgrl_feature_reader.h.


Function Documentation

vcl_istream& operator>> ( vcl_istream &  is,
rgrl_transformation_sptr trans_sptr 
)

stream input operator for reading a feature.

Definition at line 97 of file rgrl_feature_reader.cxx.

rgrl_feature_sptr rgrl_feature_reader ( vcl_istream &  is)

The type of feature depends on the content of the input stream.

Read a feature from input stream.

NULL smart ptr is returned if the reading operation fails. Please check the validity of the returned smart ptr.

The type of feature depends on the content of the input stream.

The type of feature depends on the content of the input stream. NULL smart ptr is returned if reading fails. Please check the validity of the return smart ptr

Definition at line 90 of file rgrl_feature_reader.cxx.