PetaVision  Alpha
PV::ParameterGroup Class Reference

 ParameterGroup (char *name, ParameterStack *stack, ParameterArrayStack *array_stack, ParameterStringStack *string_stack, int rank=0)
 
virtual ~ParameterGroup ()
 
int setGroupKeyword (const char *keyword)
 
int setStringStack (ParameterStringStack *stringStack)
 
int present (const char *name)
 
double value (const char *name)
 
bool arrayPresent (const char *name)
 
const float * arrayValues (const char *name, int *size)
 
const double * arrayValuesDbl (const char *name, int *size)
 
int stringPresent (const char *stringName)
 
const char * stringValue (const char *stringName)
 
int warnUnread ()
 
bool hasBeenRead (const char *paramName)
 
int clearHasBeenReadFlags ()
 
int pushNumerical (Parameter *param)
 
int pushString (ParameterString *param)
 
int setValue (const char *param_name, double value)
 
int setStringValue (const char *param_name, const char *svalue)
 
ParameterStackcopyStack ()
 
ParameterArrayStackcopyArrayStack ()
 
ParameterStringStackcopyStringStack ()
 

Public Member Functions

const char * getGroupKeyword ()
 
const char * name ()
 

Private Attributes

ParameterArrayStackarrayStack
 
char * groupKeyword
 
char * groupName
 
int processRank
 
ParameterStackstack
 
ParameterStringStackstringStack
 

Detailed Description

Definition at line 171 of file PVParams.hpp.

Member Function Documentation

ParameterArrayStack * PV::ParameterGroup::copyArrayStack ( )

A function to return a copy of the parameter group's stack.

Definition at line 638 of file PVParams.cpp.

ParameterStack * PV::ParameterGroup::copyStack ( )

A function to return a copy of the parameter group's stack.

Definition at line 627 of file PVParams.cpp.

ParameterStringStack * PV::ParameterGroup::copyStringStack ( )

A function to return a copy of the parameter group's stack.

Definition at line 649 of file PVParams.cpp.


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