2005/5/9

     
 

TCollection_h

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

TCollection.h File Reference

#include <acdk.h>
#include TIterator.h

Namespaces

namespace  acdk
namespace  acdk::util

Defines

#define ACDK_DECL_TCONTAINER1(ContainerName, TypeName, RTypeName)
 To define a standard T<ContainerName>.

#define ACDK_DECL_TCONTAINER2(ContainerName, KeyName, RKeyName, ValueName, RValueName)
 To define a standard T<ContainerName>.

#define ACDK_DECL_COLLECTION(Type, RType)
 ACDK_DECL_COLLECTION(int); defines intCollection, RintCollection, RintCollectionIterator.


Define Documentation

#define ACDK_DECL_COLLECTION Type,
RType   ) 
 

Value:

ACDK_DECL_TCONTAINER1(Collection, Type, RType); \
  typedef Type##Collection::IteratorType Type##Iterator; \
  typedef Type##Collection::RIteratorType R##Type##Iterator
ACDK_DECL_COLLECTION(int); defines intCollection, RintCollection, RintCollectionIterator.

#define ACDK_DECL_TCONTAINER1 ContainerName,
TypeName,
RTypeName   ) 
 

Value:

typedef ::acdk::util::T##ContainerName<RTypeName> TypeName##ContainerName; \
  typedef TypeName##ContainerName::RefType R##TypeName##ContainerName
To define a standard T<ContainerName>.

#define ACDK_DECL_TCONTAINER2 ContainerName,
KeyName,
RKeyName,
ValueName,
RValueName   ) 
 

Value:

typedef ::acdk::util::T##ContainerName<RKeyName, RValueName> KeyName##To##ValueName##ContainerName; \
  typedef KeyName##To##ValueName##ContainerName::RefType R##KeyName##To##ValueName##ContainerName
To define a standard T<ContainerName>.