Class Hierarchy   Class Index   Method Index  

CHMtableRow.h

00001 #ifndef __CHM_TABLE_ROW_H_
00002 #define __CHM_TABLE_ROW_H_
00003 //---------------------------------------------------------------------------
00004 // Copyright (C) 1997-2007 iNTERFACEWARE Inc.  All Rights Reserved
00005 //
00006 // Module: CHMtableRow
00007 //
00008 // Author: Greg Norman
00009 // Revision: $Revision: 1.9 $
00010 //
00011 // Last Edit Date: $Date: 2007-02-12 21:35:42 $
00012 // Source: $Source: /home/cvs/cvsroot/CHM/CHMtableRow.h,v $
00013 //---------------------------------------------------------------------------
00014 #include <CHM/CHMminimumInclude.h>
00015 
00016 class CHMtableRowPrivate;
00017 class CHMtable;
00018 
00023 class CHMtableRow
00024 {
00025 public:
00027    CHMtableRow(const CHMtable* pTable, size_t RowIndex);
00028    
00030    virtual ~CHMtableRow();
00031 
00033    size_t CountOfSubTable() const;
00034 
00036    size_t RowIndex() const;
00037    
00039    const CHMtable* SubTable(size_t SubTableIndex) const;
00040    
00042    CHMtable* SubTable(size_t SubTableIndex);
00043 
00046    CHMtableHandle TableHandle() const;
00047    
00048 private:
00049    CHMtableRowPrivate* pMember;
00050    CHMtableRow(const CHMtableRow& Orig);             // not allowed
00051    CHMtableRow& operator=(const CHMtableRow& Orig);  // not allowed
00052 };
00053 
00054 #endif // end of defensive include