Modernized GAlib  3.0.0 current
Public Member Functions | List of all members
GAParameterList Class Reference

Parameter List. More...

#include <GAParameter.h>

Inheritance diagram for GAParameterList:
[legend]
Collaboration diagram for GAParameterList:
[legend]

Public Member Functions

bool get (const std::string &name, void *) const
 
bool set (const std::string &name, const void *)
 
bool set (const std::string &name, int v)
 
bool set (const std::string &name, unsigned int v)
 
bool set (const std::string &name, char v)
 
bool set (const std::string &name, const char *v)
 
bool set (const std::string &name, double v)
 
bool add (const std::string &fn, const std::string &sn, ParType, const void *)
 
bool parse (int &argc, char **argv, bool flag=true)
 
bool write (const char *filename) const
 
bool write (std::ostream &os) const
 
bool read (const std::string &filename, bool flag=true)
 
bool read (std::istream &is, bool flag=true)
 

Detailed Description

Parameter List.

The parameter list is implemented as an array, but has the interface of a list. You can traverse through the list to get the parameters that you need. Be sure to check the type before you try to extract the value for any specific parameter in the list.


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