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

ippEnumPropResponse.cpp

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 //
00011 #include "stdafx.h"
00012 #include "ippdme/Response/ippEnumPropResponse.h"
00013 #include "ippdme/misc/ippStringBuilder.h"
00014 
00015 ippEnumPropResponse::ippEnumPropResponse(unsigned int inTagNumber)
00016   : ippResponse(inTagNumber, CommandTag, DataEnumProp)
00017 {
00018 }
00019 ippEnumPropResponse::ippEnumPropResponse(
00020     unsigned int inTagNumber,
00021     const char * inMemberName,
00022           const char * inValueTypeName
00023   )
00024     :  ippResponse(inTagNumber, CommandTag, DataEnumProp)
00025 {
00026     _memberName = inMemberName;
00027     _valueTypeName = inValueTypeName;
00028 }
00029 
00030 ippEnumPropResponse::~ippEnumPropResponse()
00031 {
00032 }
00033 
00034 std::string ippEnumPropResponse::getResponseString() const
00035 {  
00036   ippStringBuilder builder(_tag,"#");
00037   builder.AppendParam(_memberName);
00038   builder.AppendParam(_valueTypeName);
00039   return builder.ToString();
00040 }

Generated on Wed Nov 8 00:20:06 2006 for IPPDME by  doxygen 1.4.1