#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

◆ Pointer

Definition at line 24 of file QueryParam.h.

Member Enumeration Documentation

◆ Type

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

Definition at line 23 of file QueryParam.h.

Constructor & Destructor Documentation

◆ StringParam() [1/2]

Mgr::StringParam::StringParam ( )

Definition at line 15 of file StringParam.cc.

◆ StringParam() [2/2]

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

Definition at line 20 of file StringParam.cc.

Member Function Documentation

◆ pack()

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

◆ unpackValue()

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

Implements Mgr::QueryParam.

Definition at line 33 of file StringParam.cc.

References Ipc::TypedMsgHdr::getString(), and str.

◆ value()

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

Definition at line 39 of file StringParam.cc.

References str.

Member Data Documentation

◆ str

String Mgr::StringParam::str
private

Definition at line 32 of file StringParam.h.

Referenced by pack(), unpackValue(), and value().

◆ type

Type Mgr::QueryParam::type
inherited

Definition at line 37 of file QueryParam.h.

Referenced by Mgr::Inquirer::applyQueryParams(), pack(), and Mgr::IntParam::pack().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors