include/AsnDeleteCmd.H

Go to the documentation of this file.
00001 /* ${copyright}$ */
00002 /* $Id: AsnDeleteCmd.H 946 2008-12-09 17:17:52Z rafael $ */
00007 #ifndef __ASNDELETECMD_H__
00008 #define __ASNDELETECMD_H__
00009 
00010 #include "libepp_nicbr.H"
00011 
00012 #include "Command.H"
00013 
00014 LIBEPP_NICBR_NS_BEGIN
00015 
00017 class AsnDeleteCmd : public Command
00018 {
00019 public:
00021   AsnDeleteCmd(bool reset = true) : Command(false)
00022   {
00023     if (reset) {
00024       this->reset();
00025     }
00026   }
00027   
00029 
00032   void set_asn(const int asn)
00033   {
00034     _asn = asn;
00035   }
00036   
00038 
00041   int get_asn() const
00042   {
00043     return _asn;
00044   }
00045   
00046   void reset()
00047   {
00048     Command::reset();
00049     _asn = 0;
00050   }
00051 
00052 protected:
00054   int _asn;
00055 };
00056 
00057 LIBEPP_NICBR_NS_END
00058 #endif // __ASNDELETECMD_H__

Generated on Tue Mar 17 16:03:07 2009 for libepp_nicbr by  doxygen 1.4.7