Templates -- Meow  1.1.4
A C++ template which is unable and also not allowed to compile to obj-file first.
meow::ObjBase Class Reference

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

#include "ObjBase.h"

Inheritance diagram for meow::ObjBase:
meow::IdentityPoints< int, double > meow::Bitmap< Pixel > meow::BundleAdjustment< Pixel > meow::Camera< Pixel > meow::Eye< Pixel > meow::FeaturePoint< Scalar, Description > meow::FeaturePointsDetector< Pixel > meow::FeaturePointsMatch< Scalar, Description > meow::IdentityPoints< ID, Scalar > 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 ()
 

Detailed Description

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

Author
cathook

Definition at line 15 of file ObjBase.h.

Constructor & Destructor Documentation

meow::ObjBase::ObjBase ( )
inlineprotected

Definition at line 17 of file ObjBase.h.

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

Definition at line 19 of file ObjBase.h.

Member Function Documentation

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

用C-style string回傳base的type name

Definition at line 81 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 88 of file ObjBase.h.

virtual bool meow::ObjBase::write ( FILE *  f,
bool  bin,
unsigned int  fg 
) const
inlinevirtual

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