Cones Class Reference

The in-memory representation of the <cones> element. More...

#include <OSInstance.h>

Collaboration diagram for Cones:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Cones ()
 The Cones class constructor.
 ~Cones ()
 The Cones class destructor.
bool IsEqual (Cones *that)
 A function to check for the equality of two objects.
bool setRandom (double density, bool conformant, int iMin, int iMax)
 A function to make a random instance of this class.
bool deepCopyFrom (Cones *that)
 A function to make a deep copy of an instance of this class.

Public Attributes

int numberOfCones
 numberOfCones is the number of <nl> elements in the <cones> element.
Cone ** cone
 cone is pointer to an array of Cone object pointers

Detailed Description

The in-memory representation of the <cones> element.

Definition at line 1532 of file OSInstance.h.


Constructor & Destructor Documentation

Cones::Cones (  ) 

The Cones class constructor.

Definition at line 939 of file OSInstance.cpp.

Cones::~Cones (  ) 

The Cones class destructor.

Definition at line 948 of file OSInstance.cpp.


Member Function Documentation

bool Cones::IsEqual ( Cones that  ) 

A function to check for the equality of two objects.

Definition at line 8685 of file OSInstance.cpp.

bool Cones::setRandom ( double  density,
bool  conformant,
int  iMin,
int  iMax 
)

A function to make a random instance of this class.

Parameters:
density,: corresponds to the probability that a particular child element is created
conformant,: if true enforces side constraints not enforceable in the schema (e.g., agreement of "numberOfXXX" attributes and <XXX> children)
iMin,: lowest index value (inclusive) that a variable reference in this matrix can take
iMax,: greatest index value (inclusive) that a variable reference in this matrix can take
bool Cones::deepCopyFrom ( Cones that  ) 

A function to make a deep copy of an instance of this class.

Parameters:
that,: the instance from which information is to be copied
Returns:
whether the copy was created successfully

Member Data Documentation

numberOfCones is the number of <nl> elements in the <cones> element.

Definition at line 1546 of file OSInstance.h.

cone is pointer to an array of Cone object pointers

Definition at line 1549 of file OSInstance.h.


The documentation for this class was generated from the following files:

Generated on 5 Jul 2015 by  doxygen 1.6.1