BIE::vmanip Class Reference

Helper class to manipulate the contents clivector types from within the CLI. More...

#include <clivector_manip.h>

Inheritance diagram for BIE::vmanip:
Collaboration diagram for BIE::vmanip:

List of all members.

Public Member Functions

 vmanip ()
 Null constructor.
 vmanip (clivectord *v)
 Initial constructor.
 vmanip (clivectori *v)
 Initial constructor.
 vmanip (clivectors *v)
 Initial constructor.
 vmanip (clivectortess *v)
 Initial constructor.
void setval (int n, double v)
 Set vector elements.
void setval (int n, int v)
 Set vector elements.
void setval (int n, string v)
 Set vector elements.
void setval (int n, Tessellation *v)
 Print vector elements.
void showval (int n)
 Print vector elements.
void showall ()
 Print all vector elements.

Friends

class boost::serialization::access


Detailed Description

Helper class to manipulate the contents clivector types from within the CLI.

The pointer is passed to the manipulator which may change and access the values of the original clivector.

This "manipulator" class is a kludge but I don't have a better solution at this point. If not for the reflection they could be wrappers and if not for the STL vector, they could inherit from a base class to provide the cli functions. Sigh.

This will only be used/seen by te CLI. vmanip instances will be saved and restored.


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

Send suggestions, questions, and feedback to WEINBERG at ASTRO dot UMASS dot EDU.
Documentation generated at Fri Mar 26 00:35:12 2010 by doxygen