SGDisplayParam Class Reference

Parameters for the SG display type. More...

#include <sgdisp.hpp>

Inheritance diagram for SGDisplayParam:

Inheritance graph
[legend]
Collaboration diagram for SGDisplayParam:

Collaboration graph
[legend]
List of all members.

Public Member Functions

int Value () const
 SGDisplayParam (char *name, SGParam *tl)
 No default value.
 SGDisplayParam (char *name, SGParam *tl, int v)
 With a default value.

Static Public Attributes

static char TypeId [] = "dsp"

Protected Member Functions

void read_param ()
 Reads a value of the parameter from the input stream.
void print_param (std::ostream &s, short indent)
 Prints the name and the value of the parameter with a given indent.

Detailed Description

Parameters for the SG display type.


Constructor & Destructor Documentation

SGDisplayParam::SGDisplayParam ( char *  name,
SGParam tl 
) [inline]

No default value.

Parameters:
[in] name The name of the parameter
[in] tl The next parameter in the list

SGDisplayParam::SGDisplayParam ( char *  name,
SGParam tl,
int  v 
) [inline]

With a default value.

Parameters:
[in] name The name of the parameter.
[in] tl The next parameter in the list.
[in] v The default value.


Member Function Documentation

void SGDisplayParam::read_param (  )  [protected, virtual]

Reads a value of the parameter from the input stream.

Implements SGParam.

void SGDisplayParam::print_param ( std::ostream &  s,
short  indent 
) [protected, virtual]

Prints the name and the value of the parameter with a given indent.

Parameters:
[in] s The stream to print to
[in] indent The indent for the output lines

Implements SGParam.

int SGDisplayParam::Value (  )  const [inline]


Member Data Documentation

char SGDisplayParam::TypeId = "dsp" [static]


The documentation for this class was generated from the following files:
Generated on Fri Sep 21 12:34:29 2007 for SG2 by  doxygen 1.5.2