Prototypes for NpingOps: int setMETHNAME(TYPE val); TYPE getMETHNAME(); bool issetMETHNAME(); Attributes for NpingOps: TYPE ATTRNAME; bool ATTRNAME_set; Initialization for NpingOps::NpingOps() ATTRNAME=0; ATTRNAME_set=false; /** Sets METHNAME. * @return OP_SUCCESS on success and OP_FAILURE in case of error. */ int NpingOps::setMETHNAME(TYPE val){ ATTRNAME=val; ATTRNAME_set=true; return OP_SUCCESS; } /* End of setMETHNAME() */ /** Returns value of attribute ATTRNAME */ TYPE NpingOps::getMETHNAME(){ return this->ATTRNAME; } /* End of getMETHNAME() */ /* Returns true if option has been set */ bool NpingOps::issetMETHNAME(){ return this->ATTRNAME_set; } /* End of issetMETHNAME() */