Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ippEnumPropResponse.h

Go to the documentation of this file.
00001 // 
00002 // DISCLAIMER: 
00003 //  This software was produced by the National Institute of Standards 
00004 //  and Technology (NIST), an agency of the U.S. government, and by statute is 
00005 //  not subject to copyright in the United States.  Recipients of this 
00006 //  software assume all responsibility associated with its operation,
00007 //  modification,maintenance, and subsequent redistribution. 
00008 //
00009 //  See NIST Administration Manual 4.09.07 b and Appendix I. 
00010 /* ippEnumPropResponse class ***********************************************
00011 
00012 Use this (possibly repeatedly) for data from EnumAllProp and EnumProp.
00013 
00014 */
00015 #pragma once
00016 #include "ippResponse.h"
00017 #include <string>
00018 
00019 class IPPDME_EXT_CLASS ippEnumPropResponse : public ippResponse {
00020 
00021 public:
00022 
00023   ippEnumPropResponse(
00024     unsigned int inTagNumber
00025   );
00026 
00027   ippEnumPropResponse(
00028     unsigned int inTagNumber,
00029     const char * inMemberName,
00030           const char * inValueTypeName
00031   );
00032 
00033   virtual ~ippEnumPropResponse();
00034 
00035   void setMemberName(const char * inMemberName){_memberName = inMemberName; }
00036   void setValueTypeName(const char * inValueTypeName){ _valueTypeName = inValueTypeName; }
00037 
00038   const char * getMemberName() const{ return _memberName.c_str(); }
00039   const char * getValueTypeName()const{ return _valueTypeName.c_str(); }
00040 
00041   virtual std::string getResponseString() const;
00042 
00043 private: 
00044   std::string _memberName;
00045   std::string _valueTypeName;
00046 
00047   // prohibited copy constructor:
00048   ippEnumPropResponse(const ippEnumPropResponse&);
00049   void operator=(const ippEnumPropResponse&);
00050 };
00051 
00052 IPP_DECLARE_SMARTPOINTER(ippEnumPropResponse);

Generated on Wed Nov 8 00:19:59 2006 for IPPDME by  doxygen 1.4.1