Templates -- Meow  1.2.11
A C++ template contains kinds of interesting classes and functions
meow::ObjBase Class Reference

一切物件的Base, 並要求每個物件都要有read, write, create, ... 等功能 More...

#include "ObjBase.h"

Inheritance diagram for meow::ObjBase:
meow::IdentityPoints< int, double, Vector2D< double > > meow::Bitmap< Pixel > meow::BundleAdjustment< Pixel > meow::Camera< Pixel > meow::Eye< Pixel > meow::FeaturePoint< Scalar, Description, Position, Feature > meow::FeaturePointsDetector< Pixel, MyFP > meow::FeaturePointsMatch< FeaturePoint > meow::IdentityPoints< Identity, Scalar, Point > meow::ObjArray< T > meow::ObjDictionary< Key, Value > meow::ObjProperties< SID > meow::ObjType< Type, ReaderWriter > meow::Photo< Pixel > meow::ViewPort meow::WatchBall< Pixel >

Public Member Functions

virtual ~ObjBase ()
 
virtual bool write (FILE *f, bool bin, unsigned int fg) const
 將物件寫入檔案, 預設implement為直接回傳 false More...
 
virtual bool read (FILE *f, bool bin, unsigned int fg)
 將物件從檔案讀出, 預設implement為直接回傳 false More...
 
virtual ObjBasecreate () const
 回傳一個new出來的物件, 預設implement為直接回傳 NULL More...
 
virtual ObjBasecopyFrom (ObjBase const *b)
 複製, 預設使用operator= More...
 
virtual char const * ctype () const
 用C-style string回傳這個class的type name More...
 
virtual std::string type () const
 用std::string回傳這個class的type name More...
 

Static Public Member Functions

static char const * ctypeBase ()
 用C-style string回傳base的type name More...
 
static std::string typeBase ()
 用std::string回傳base的type name More...
 

Protected Member Functions

 ObjBase ()
 Constructor with doing nothing. More...
 

Detailed Description

一切物件的Base, 並要求每個物件都要有read, write, create, ... 等功能

Author
cathook

Definition at line 15 of file ObjBase.h.

Constructor & Destructor Documentation

meow::ObjBase::ObjBase ( )
inlineprotected

Constructor with doing nothing.

Definition at line 21 of file ObjBase.h.

virtual meow::ObjBase::~ObjBase ( )
inlinevirtual

Definition at line 23 of file ObjBase.h.

Member Function Documentation

static char const* meow::ObjBase::ctypeBase ( )
inlinestatic

用C-style string回傳base的type name

Definition at line 84 of file ObjBase.h.

virtual bool meow::ObjBase::read ( FILE *  f,
bool  bin,
unsigned int  fg 
)
inlinevirtual
static std::string meow::ObjBase::typeBase ( )
inlinestatic

用std::string回傳base的type name

Definition at line 91 of file ObjBase.h.


The documentation for this class was generated from the following file: