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

ippCenterPartResponse.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/ippCenterPartResponse.h"
00013 #include "ippdme/misc/ippStringBuilder.h"
00014 
00015 ippCenterPartResponse::ippCenterPartResponse(
00016   unsigned int inTagNumber
00017 )
00018   : ippResponse(inTagNumber, CommandTag, DataCenterPart)
00019 {
00020 }
00021 
00022 ippCenterPartResponse::ippCenterPartResponse(
00023   unsigned int inTagNumber, 
00024   bool inCentered
00025 )
00026   : ippResponse(inTagNumber, CommandTag, DataCenterPart)
00027 {
00028   _centered = inCentered; 
00029 }
00030 
00031 ippCenterPartResponse::~ippCenterPartResponse()
00032 {
00033 }
00034 
00035 std::string ippCenterPartResponse::getResponseString() const
00036 {  
00037   return ippStringBuilder(_tag,"#").AppendFunc("CenterPart",(_centered ? 1 : 0)).ToString();
00038 }

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