Itasca C++ Interface
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
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(quint64 id) const=0;
26  //virtual ITable * lookupWithID(quint64 id)=0;
27 
29  virtual const ITable *lookupWithName(const QString &s) const=0;
31  virtual ITable * lookupWithName(const QString &s)=0;
32 
36  virtual ITable *lookupOrCreateWithName(const QString &s)=0;
37 
40  virtual const ITable *getFirst() const=0;
41 
44  virtual uint getNotice() const=0;
45 
47  virtual quint32 getTableGeneralType() const=0;
48  };
49 } // namespace itascaxd
50 // EoF
namespace Itasca
Definition: basememory.cpp:9
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
Interface to the global list of all tables.
Definition: itablelist.h:16
virtual const ITable * lookupWithName(const QString &s) const =0
Returns a const pointer to table whose name matches s, or 0.
virtual uint getNotice() const =0
One stop include for all objects defined as part of base interface.
Interface for containers of IThings.
Definition: icontainer.h:23
Interface to a particular table of values.
Definition: itable.h:17
Interface for container of IThings.
Interface to a particular table of values.
virtual quint32 getTableGeneralType() const =0
Returns the general type of an ITable.
virtual ITable * lookupOrCreateWithName(const QString &s)=0