#include <StringParam.h>

Inheritance diagram for Mgr::StringParam:
Collaboration diagram for Mgr::StringParam:

Public Types

enum  Type {
  ptInt = 1,
  ptString
}
 
typedef RefCount< QueryParamPointer
 

Public Member Functions

 StringParam ()
 
 StringParam (const String &aString)
 
virtual void pack (Ipc::TypedMsgHdr &msg) const
 store parameter into msg More...
 
virtual void unpackValue (const Ipc::TypedMsgHdr &msg)
 load parameter value from msg More...
 
const Stringvalue () const
 

Public Attributes

Type type
 

Private Attributes

String str
 

Detailed Description

Definition at line 22 of file StringParam.h.

Member Typedef Documentation

Definition at line 24 of file QueryParam.h.

Member Enumeration Documentation

enum Mgr::QueryParam::Type
inherited
Enumerator
ptInt 
ptString 

Definition at line 23 of file QueryParam.h.

Constructor & Destructor Documentation

Mgr::StringParam::StringParam ( )

Definition at line 15 of file StringParam.cc.

Mgr::StringParam::StringParam ( const String aString)

Definition at line 20 of file StringParam.cc.

Member Function Documentation

void Mgr::StringParam::pack ( Ipc::TypedMsgHdr msg) const
virtual

Implements Mgr::QueryParam.

Definition at line 26 of file StringParam.cc.

References Ipc::TypedMsgHdr::putPod(), Ipc::TypedMsgHdr::putString(), and type.

void Mgr::StringParam::unpackValue ( const Ipc::TypedMsgHdr msg)
virtual

Implements Mgr::QueryParam.

Definition at line 33 of file StringParam.cc.

References Ipc::TypedMsgHdr::getString().

const String & Mgr::StringParam::value ( ) const

Definition at line 39 of file StringParam.cc.

Member Data Documentation

String Mgr::StringParam::str
private

Definition at line 32 of file StringParam.h.

Type Mgr::QueryParam::type
inherited

Definition at line 37 of file QueryParam.h.

Referenced by Mgr::Inquirer::applyQueryParams().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors