Itasca C++ Interface
itablelist.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "base/src/base.h"
4 #include "itable.h"
6 
12 namespace itasca {
13 
16  class ITableList {
17  public:
19  virtual const IContainer *getIContainer() const=0;
21  virtual IContainer *getIContainer()=0;
22 
24  //virtual const ITable *lookupWithID(uint64 id) const=0;
26  //virtual ITable * lookupWithID(uint64 id)=0;
27 
29  virtual const ITable *lookupWithName(const IString &s) const=0;
31  virtual ITable * lookupWithName(const IString &s)=0;
32 
36  virtual ITable *lookupOrCreateWithName(const IString &s)=0;
37 
40  virtual const ITable *getFirst() const=0;
41 
44  virtual uint32 getNotice() const=0;
45 
47  virtual uint32 getTableGeneralType() const=0;
48  };
49 } // namespace itascaxd
50 // EoF
One stop include for all objects defined as part of base interface.
Definition: istring.h:14
Interface for containers of IThings.
Definition: icontainer.h:21
Interface to a particular table of values.
Definition: itable.h:17
Interface to the global list of all tables.
Definition: itablelist.h:16
virtual ITable * lookupWithName(const IString &s)=0
Returns a pointer to table whose name matches s, or 0.
virtual uint32 getNotice() const =0
virtual const IContainer * getIContainer() const =0
returns a constant pointer to the IContainer class representing a list of tables.
virtual const ITable * getFirst() const =0
virtual const ITable * lookupWithName(const IString &s) const =0
Returns a const pointer to table whose name matches s, or 0.
virtual uint32 getTableGeneralType() const =0
Returns the general type of an ITable.
virtual ITable * lookupOrCreateWithName(const IString &s)=0
virtual IContainer * getIContainer()=0
returns a pointer to the IContainer class representing a list of tables.
Interface for container of IThings.
Interface to a particular table of values.
namespace Itasca
Definition: basememory.cpp:10