Itasca C++ Interface
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
iattachlist.h
Go to the documentation of this file.
1 //iattachlist.h
2 #pragma once
3 
4 #include "iattach.h"
5 
10 namespace itasca {
11  class IContainer;
12  class IThing;
13 }
14 
15 namespace zone {
18  class IAttachList {
19  public:
21  inline static const TType type_ = 0x4e5d11ef;
22 
24  virtual const IThing * getIThing() const = 0;
26  virtual IThing * getIThing() = 0;
28  virtual const IContainer * getIContainer() const = 0;
30  virtual IContainer * getIContainer() = 0;
32  virtual quint32 getAttachType() const = 0;
35  virtual const IAttachPoint * getFirstAttach() const = 0;
38  virtual IAttachPoint * getFirstAttach() = 0;
40  virtual const IAttachPoint * findAttachWithID(quint64 id) const = 0;
42  virtual uint getAttachPointNotice() const = 0;
50  virtual IAttachPoint * createAttach(IAttachPoint::ClassType type,IGp *slave,IThing *it1,IThing *it2, quint32 faceNo, bool snap) = 0;
51  };
52 } // namespace zone
53 // EoF
virtual quint32 getAttachType() const =0
Returns the attachment type for the TypeEntry system.
virtual const IContainer * getIContainer() const =0
Returns a const pointer to the IContainer interface representing the global list of attachments.
namespace Itasca
Definition: basememory.cpp:9
Base class for items that will be stored in containers.
Definition: ithing.h:31
ClassType
The specific types of attach conditions that can be derived from an attach point.
Definition: iattach.h:28
Interface to a attachment object.
virtual const IAttachPoint * findAttachWithID(quint64 id) const =0
Returns a pointer to the attachment, IAttachPoint, that matches id. .
virtual uint getAttachPointNotice() const =0
Returns the notification code for attachments.
unsigned int TType
class type indicator
Definition: basedef.h:41
Interface for accessing the global list of attachments, IAttachPoint.
Definition: iattachlist.h:18
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition: iattachlist.h:21
virtual IAttachPoint * createAttach(IAttachPoint::ClassType type, IGp *slave, IThing *it1, IThing *it2, quint32 faceNo, bool snap)=0
virtual const IThing * getIThing() const =0
returns a const IThing pointer
Interface to provide access to a gridpoint.
Definition: igp.h:64
Interface for containers of IThings.
Definition: icontainer.h:23
virtual const IAttachPoint * getFirstAttach() const =0
Interface to a attachment object.
Definition: iattach.h:23