OtherOptionEnumeration Class Reference

#include <OSGeneral.h>

Inheritance diagram for OtherOptionEnumeration:

Inheritance graph
[legend]
Collaboration diagram for OtherOptionEnumeration:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 OtherOptionEnumeration ()
 ~OtherOptionEnumeration ()
 OtherOptionEnumeration (int n)
bool IsEqual (OtherOptionEnumeration *that)
bool setOtherOptionEnumeration (std::string value, std::string description, int *i, int ni)
 Set the indices for a particular value in an enumeration.

Public Attributes

std::string value
std::string description

Detailed Description

brief an integer vector data structure used in OSOption and OSResult

This class extends IntVector by adding two string-valued elements, value and description

Definition at line 360 of file OSGeneral.h.


Constructor & Destructor Documentation

OtherOptionEnumeration::OtherOptionEnumeration (  ) 

Definition at line 324 of file OSGeneral.cpp.

OtherOptionEnumeration::~OtherOptionEnumeration (  ) 

Definition at line 347 of file OSGeneral.cpp.

OtherOptionEnumeration::OtherOptionEnumeration ( int  n  ) 

Definition at line 335 of file OSGeneral.cpp.


Member Function Documentation

bool OtherOptionEnumeration::IsEqual ( OtherOptionEnumeration that  ) 

Definition at line 364 of file OSGeneral.cpp.

References description, IntVector::IsEqual(), and value.

bool OtherOptionEnumeration::setOtherOptionEnumeration ( std::string  value,
std::string  description,
int *  i,
int  ni 
)

Set the indices for a particular value in an enumeration.

Parameters:
value represents the value of this enumeration member
description holds additional information about this value
i contains the array of indices
ni contains the number of elements in i

Definition at line 353 of file OSGeneral.cpp.

References IntVector::el, and IntVector::numberOfEl.

Referenced by OSResult::setOtherOptionEnumeration().


Member Data Documentation

std::string OtherOptionEnumeration::value

Definition at line 362 of file OSGeneral.h.

Referenced by IsEqual(), and writeOtherOptionEnumeration().

std::string OtherOptionEnumeration::description

Definition at line 363 of file OSGeneral.h.

Referenced by IsEqual(), and writeOtherOptionEnumeration().


The documentation for this class was generated from the following files:
Generated on Fri Jan 7 03:27:14 2011 by  doxygen 1.4.7