Sleeping Wombat GUI  0.100
swGUI
ICollection.h
Go to the documentation of this file.
1 #pragma once
2 
6 
7 
8 template< typename ElementType = IEnableProperty* >
10 {
11 private:
12 public:
13 
14  virtual ~ICollection() = 0 {};
15 
16  virtual void Add ( ElementType object ) = 0;
17  virtual void Insert ( ElementType object, int32 index ) = 0;
18  virtual void Remove ( ElementType object ) = 0;
19  virtual void Remove ( int32 index ) = 0;
20  virtual void Move ( int32 srcIdx, int32 dstIdx ) = 0;
21 
22  virtual int32 Find ( ElementType object ) = 0;
23 
24  virtual void Clear () = 0;
25  virtual int32 Length () = 0;
26 
27  virtual ElementType& operator[]( int32 idx ) = 0;
28 };
29 RTTR_DECLARE_STANDARD_META_TYPE_VARIANTS( ICollection< IEnableProperty* > )
Definition: IEnableProperty.h:7
virtual int32 Length()=0
virtual ~ICollection()=0
Definition: ICollection.h:14
virtual ElementType & operator[](int32 idx)=0
Plik zawiera definicje podstawowych typów zmiennych.
virtual void Move(int32 srcIdx, int32 dstIdx)=0
virtual void Insert(ElementType object, int32 index)=0
virtual int32 Find(ElementType object)=0
Definition: ICollection.h:9
virtual void Clear()=0
int32_t int32
Definition: TypesDefinitions.h:30
virtual void Remove(ElementType object)=0
virtual void Add(ElementType object)=0