Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Easdif::SDIFNameValueTable Class Reference

class which can be associated with a Name Value Table More...

#include <sdifnamevaluetable.h>

List of all members.

Public Types

typedef NVTMap::const_iterator const_iterator
 iterator types for iterating over the internal map


Public Methods

int AddNameValue (const std::string &name, const std::string &value)
 add a Name Value in the map

SdifUInt4 SetStreamID (const SdifUInt4 &streamid)
 set the streamID

void PrintNameValue (const std::string &name) const
 print a Name Value

void PrintNameValueTable () const
 print a Name Value Table

int GetNbNameValue ()
 get the number of Name Value

SdifUInt4 GetStreamID ()
 get the StreamID

std::string GetValue (const std::string &name) const
 get the Value


Detailed Description

class which can be associated with a Name Value Table

SDIFNameValueTable is composed of different methods which permits to manipulate a Name Value Table.

It is derived from std::map<std::string,std::string> and provides all methods of that class


Member Typedef Documentation

typedef NVTMap::const_iterator Easdif::SDIFNameValueTable::const_iterator
 

iterator types for iterating over the internal map


Member Function Documentation

int Easdif::SDIFNameValueTable::AddNameValue const std::string &    name,
const std::string &    value
 

add a Name Value in the map

Parameters:
name 
value 
Returns:
the number of Name Values in the map

SdifUInt4 Easdif::SDIFNameValueTable::SetStreamID const SdifUInt4 &    streamid
 

set the streamID

Parameters:
streamid 
Returns:

void Easdif::SDIFNameValueTable::PrintNameValue const std::string &    name const
 

print a Name Value

Parameters:
name 

std::string Easdif::SDIFNameValueTable::GetValue const std::string &    name const
 

get the Value

Parameters:
name  string
Returns:
value string


The documentation for this class was generated from the following files:
Generated on Mon Feb 2 19:27:26 2004 for Easdif by doxygen1.2.16