MechSys  1.0
Computing library for simulations in continuum and discrete mechanics
Public Member Functions | Public Attributes
SIPair Class Reference

#include <maps.h>

Inheritance diagram for SIPair:
GUI::WxSIPairTable

List of all members.

Public Member Functions

void Set (const char *Str,...)
 Set given keys and vals: Set("a b", 1,2). NOTE: vals must be int.
int & operator() (char const *Key)
int const & operator() (char const *Key) const
int & operator() (String const &Key)
int const & operator() (String const &Key) const
void Del (const char *Key)
 Delete key (and value) from pair.
bool HasKey (char const *Key) const
bool HasKey (String const &Key) const
void clear ()

Public Attributes

Array< StringKeys

Detailed Description

String-Int Pair.


Member Function Documentation

void SIPair::clear ( ) [inline]
void SIPair::Del ( const char *  Key) [inline]

Delete key (and value) from pair.

bool SIPair::HasKey ( char const *  Key) const [inline]
bool SIPair::HasKey ( String const &  Key) const [inline]
int & SIPair::operator() ( char const *  Key) [inline]
int const & SIPair::operator() ( char const *  Key) const [inline]
int& SIPair::operator() ( String const &  Key) [inline]
int const& SIPair::operator() ( String const &  Key) const [inline]
void SIPair::Set ( const char *  Str,
  ... 
) [inline]

Set given keys and vals: Set("a b", 1,2). NOTE: vals must be int.


Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines