GaCaRulesSet Class Reference

#include <CaDesigner.h>

List of all members.


Detailed Description

Set container for GaCaRules objects (usually for solutions).

This container acts really as a set. It means each object's value can be stored only once in this container.

Definition at line 229 of file CaDesigner.h.


Public Member Functions

 GaCaRulesSet ()
 ~GaCaRulesSet ()
size_t size () const
 Return count of objects stored in the container.
void add (GaCaRules *rules)
 Add GaCaRules object to the container.
void clear ()
 Remove all bojects from container and destroy them.

Private Attributes

Private * d

Constructor & Destructor Documentation

GaCaRulesSet (  ) 

Definition at line 476 of file CaDesigner.cpp.

~GaCaRulesSet (  ) 

Definition at line 481 of file CaDesigner.cpp.

References clear().

Here is the call graph for this function:


Member Function Documentation

size_t size (  )  const

Return count of objects stored in the container.

Definition at line 486 of file CaDesigner.cpp.

void add ( GaCaRules rules  ) 

Add GaCaRules object to the container.

The object is not added to container if there is already object with the same value.

Attention:
Objects are deleted automatically by GaCaRulesSet in both cases.
Parameters:
rules GaCaRules object ought to be added.

Definition at line 490 of file CaDesigner.cpp.

void clear (  ) 

Remove all bojects from container and destroy them.

Definition at line 494 of file CaDesigner.cpp.

Referenced by ~GaCaRulesSet().

Here is the caller graph for this function:


Member Data Documentation

Private* d [private]

Definition at line 256 of file CaDesigner.h.


The documentation for this class was generated from the following files:
Generated on Sat May 2 16:39:39 2009 for nucad by  doxygen 1.5.4