COOPY » Guide  version 0.6.5
Public Member Functions
coopy::store::SimpleSheetSchema Class Reference

#include <SheetSchema.h>

Inheritance diagram for coopy::store::SimpleSheetSchema:
coopy::store::SheetSchema coopy::store::RefCount

Public Member Functions

 SimpleSheetSchema ()
virtual bool copy (const SheetSchema &ss)
virtual bool addedHeader ()
virtual bool setHeaderHeight (int hh)
virtual int headerHeight () const
void setSheetName (const char *name)
bool addColumn (const char *name)
bool addColumn (const char *name, const ColumnType &kind)
virtual ColumnInfo getColumnInfo (int x) const
virtual ColumnTypemodifyType (int x)
virtual int getColumnCount () const
virtual bool providesPrimaryKeys () const
virtual std::string getSheetName () const
virtual bool isGuess () const
void setGuess (bool flag)
void setHasSheetName (bool flag)
virtual bool hasSheetName () const
virtual bool deleteColumn (const ColumnRef &column)
virtual ColumnRef moveColumn (const ColumnRef &src, const ColumnRef &base)
virtual ColumnRef insertColumn (const ColumnRef &column, const ColumnInfo &info)
virtual bool modifyColumn (const ColumnRef &column, const ColumnInfo &info)
virtual std::string toString () const
virtual int getColumnIndexByName (const char *name) const
virtual SheetSchemaclone () const
virtual bool isShadow () const
int addReference ()
int removeReference ()
int getReferenceCount ()

Detailed Description

Definition at line 110 of file SheetSchema.h.


Constructor & Destructor Documentation

coopy::store::SimpleSheetSchema::SimpleSheetSchema ( ) [inline]

Definition at line 119 of file SheetSchema.h.


Member Function Documentation

bool coopy::store::SimpleSheetSchema::addColumn ( const char *  name) [inline]
bool coopy::store::SimpleSheetSchema::addColumn ( const char *  name,
const ColumnType kind 
) [inline]

Definition at line 164 of file SheetSchema.h.

virtual bool coopy::store::SimpleSheetSchema::addedHeader ( ) [inline, virtual]

Reimplemented from coopy::store::SheetSchema.

Definition at line 140 of file SheetSchema.h.

int coopy::store::RefCount::addReference ( ) [inline, inherited]
SheetSchema * SheetSchema::clone ( ) const [virtual, inherited]
virtual bool coopy::store::SimpleSheetSchema::copy ( const SheetSchema ss) [inline, virtual]
virtual bool coopy::store::SimpleSheetSchema::deleteColumn ( const ColumnRef column) [inline, virtual]

Reimplemented from coopy::store::SheetSchema.

Definition at line 206 of file SheetSchema.h.

References coopy::store::ColumnRef::getIndex().

virtual int coopy::store::SimpleSheetSchema::getColumnCount ( ) const [inline, virtual]
virtual int coopy::store::SheetSchema::getColumnIndexByName ( const char *  name) const [inline, virtual, inherited]
virtual ColumnInfo coopy::store::SimpleSheetSchema::getColumnInfo ( int  x) const [inline, virtual]
int coopy::store::RefCount::getReferenceCount ( ) [inline, inherited]

Definition at line 40 of file RefCount.h.

virtual std::string coopy::store::SimpleSheetSchema::getSheetName ( ) const [inline, virtual]

Reimplemented from coopy::store::SheetSchema.

Definition at line 186 of file SheetSchema.h.

Referenced by coopy::store::TextBook::fixSchema().

virtual bool coopy::store::SimpleSheetSchema::hasSheetName ( ) const [inline, virtual]

Reimplemented from coopy::store::SheetSchema.

Definition at line 202 of file SheetSchema.h.

virtual int coopy::store::SimpleSheetSchema::headerHeight ( ) const [inline, virtual]

Reimplemented from coopy::store::SheetSchema.

Definition at line 150 of file SheetSchema.h.

virtual ColumnRef coopy::store::SimpleSheetSchema::insertColumn ( const ColumnRef column,
const ColumnInfo info 
) [inline, virtual]
virtual bool coopy::store::SimpleSheetSchema::isGuess ( ) const [inline, virtual]

Reimplemented from coopy::store::SheetSchema.

Definition at line 190 of file SheetSchema.h.

virtual bool coopy::store::SheetSchema::isShadow ( ) const [inline, virtual, inherited]
virtual bool coopy::store::SimpleSheetSchema::modifyColumn ( const ColumnRef column,
const ColumnInfo info 
) [inline, virtual]

Reimplemented from coopy::store::SheetSchema.

Definition at line 255 of file SheetSchema.h.

References coopy::store::ColumnRef::getIndex(), and coopy::store::ColumnInfo::getName().

Referenced by assertColumn().

virtual ColumnType& coopy::store::SimpleSheetSchema::modifyType ( int  x) [inline, virtual]

Definition at line 174 of file SheetSchema.h.

Referenced by coopy::store::TextBook::fixSchema().

virtual ColumnRef coopy::store::SimpleSheetSchema::moveColumn ( const ColumnRef src,
const ColumnRef base 
) [inline, virtual]

Reimplemented from coopy::store::SheetSchema.

Definition at line 212 of file SheetSchema.h.

References coopy::store::ColumnRef::getIndex().

virtual bool coopy::store::SimpleSheetSchema::providesPrimaryKeys ( ) const [inline, virtual]

Reimplemented from coopy::store::SheetSchema.

Definition at line 182 of file SheetSchema.h.

int coopy::store::RefCount::removeReference ( ) [inline, inherited]
void coopy::store::SimpleSheetSchema::setGuess ( bool  flag) [inline]

Definition at line 194 of file SheetSchema.h.

void coopy::store::SimpleSheetSchema::setHasSheetName ( bool  flag) [inline]

Definition at line 198 of file SheetSchema.h.

virtual bool coopy::store::SimpleSheetSchema::setHeaderHeight ( int  hh) [inline, virtual]

Reimplemented from coopy::store::SheetSchema.

Definition at line 145 of file SheetSchema.h.

Referenced by coopy::store::SheetSchema::clone().

void coopy::store::SimpleSheetSchema::setSheetName ( const char *  name) [inline]
std::string SimpleSheetSchema::toString ( ) const [virtual]

Reimplemented from coopy::store::SheetSchema.

Definition at line 21 of file SheetSchema.cpp.

References stringer_encoder().


The documentation for this class was generated from the following files:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines