⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 atm_mib.cpp

📁 JdonFramework need above jdk 1.4.0This version has passed under Tomcat 4.x/5.x JBoss 3.x/JBoss 4.0.0
💻 CPP
📖 第 1 页 / 共 5 页
字号:
/** *  atmVplOperStatus * */atmVplOperStatus::atmVplOperStatus(const Oidx& id):   SimMibLeaf(id, READONLY, new SnmpInt32()){}atmVplOperStatus::~atmVplOperStatus(){}MibEntryPtr atmVplOperStatus::clone(){	MibEntryPtr other = new atmVplOperStatus(oid);	((atmVplOperStatus*)other)->replace_value(value->clone());	((atmVplOperStatus*)other)->set_reference_to_table(my_table);	return other;}/** *  atmVplLastChange * */atmVplLastChange::atmVplLastChange(const Oidx& id):   SimMibLeaf(id, READONLY, new TimeTicks()){}atmVplLastChange::~atmVplLastChange(){}MibEntryPtr atmVplLastChange::clone(){	MibEntryPtr other = new atmVplLastChange(oid);	((atmVplLastChange*)other)->replace_value(value->clone());	((atmVplLastChange*)other)->set_reference_to_table(my_table);	return other;}/** *  atmVplReceiveTrafficDescrIndex * */atmVplReceiveTrafficDescrIndex::atmVplReceiveTrafficDescrIndex(const Oidx& id):   SimMibLeaf(id, READCREATE, new SnmpInt32(0), VMODE_DEFAULT){}atmVplReceiveTrafficDescrIndex::~atmVplReceiveTrafficDescrIndex(){}MibEntryPtr atmVplReceiveTrafficDescrIndex::clone(){	MibEntryPtr other = new atmVplReceiveTrafficDescrIndex(oid);	((atmVplReceiveTrafficDescrIndex*)other)->replace_value(value->clone());	((atmVplReceiveTrafficDescrIndex*)other)->set_reference_to_table(my_table);	return other;}boolean atmVplReceiveTrafficDescrIndex::value_ok(const Vbx& vb){	long v;	vb.get_value(v);	if (!(((v >= 0) && (v <= 2147483647))))		 return FALSE;	// place additional code to check validity of new values here	return TRUE;}int atmVplReceiveTrafficDescrIndex::prepare_set_request(Request* req, int& ind){	int status;	if ((status = SimMibLeaf::prepare_set_request(req, ind)) !=	    SNMP_ERROR_SUCCESS) return status;	// place additional code to check validity of new values here	return SNMP_ERROR_SUCCESS;}/** *  atmVplTransmitTrafficDescrIndex * */atmVplTransmitTrafficDescrIndex::atmVplTransmitTrafficDescrIndex(const Oidx& id):   SimMibLeaf(id, READCREATE, new SnmpInt32(0), VMODE_DEFAULT){}atmVplTransmitTrafficDescrIndex::~atmVplTransmitTrafficDescrIndex(){}MibEntryPtr atmVplTransmitTrafficDescrIndex::clone(){	MibEntryPtr other = new atmVplTransmitTrafficDescrIndex(oid);	((atmVplTransmitTrafficDescrIndex*)other)->replace_value(value->clone());	((atmVplTransmitTrafficDescrIndex*)other)->set_reference_to_table(my_table);	return other;}boolean atmVplTransmitTrafficDescrIndex::value_ok(const Vbx& vb){	long v;	vb.get_value(v);	if (!(((v >= 0) && (v <= 2147483647))))		 return FALSE;	// place additional code to check validity of new values here	return TRUE;}int atmVplTransmitTrafficDescrIndex::prepare_set_request(Request* req, int& ind){	int status;	if ((status = SimMibLeaf::prepare_set_request(req, ind)) !=	    SNMP_ERROR_SUCCESS) return status;	// place additional code to check validity of new values here	return SNMP_ERROR_SUCCESS;}/** *  atmVplCrossConnectIdentifier * */atmVplCrossConnectIdentifier::atmVplCrossConnectIdentifier(const Oidx& id):   SimMibLeaf(id, READONLY, new SnmpInt32()){}atmVplCrossConnectIdentifier::~atmVplCrossConnectIdentifier(){}MibEntryPtr atmVplCrossConnectIdentifier::clone(){	MibEntryPtr other = new atmVplCrossConnectIdentifier(oid);	((atmVplCrossConnectIdentifier*)other)->replace_value(value->clone());	((atmVplCrossConnectIdentifier*)other)->set_reference_to_table(my_table);	return other;}/** *  atmVplRowStatus * */atmVplRowStatus::atmVplRowStatus(const Oidx& id):   snmpRowStatus(id, READCREATE){}atmVplRowStatus::~atmVplRowStatus(){}MibEntryPtr atmVplRowStatus::clone(){	MibEntryPtr other = new atmVplRowStatus(oid);	((atmVplRowStatus*)other)->replace_value(value->clone());	((atmVplRowStatus*)other)->set_reference_to_table(my_table);	return other;}/** *  atmVplCastType * */atmVplCastType::atmVplCastType(const Oidx& id):   SimMibLeaf(id, READCREATE, new SnmpInt32(1), VMODE_DEFAULT){}atmVplCastType::~atmVplCastType(){}MibEntryPtr atmVplCastType::clone(){	MibEntryPtr other = new atmVplCastType(oid);	((atmVplCastType*)other)->replace_value(value->clone());	((atmVplCastType*)other)->set_reference_to_table(my_table);	return other;}boolean atmVplCastType::value_ok(const Vbx& vb){	long v;	vb.get_value(v);	if ((v != 1)	     && (v != 2) && (v != 3)	    ) return FALSE;	// place additional code to check validity of new values here	return TRUE;}int atmVplCastType::prepare_set_request(Request* req, int& ind){	int status;	if ((status = SimMibLeaf::prepare_set_request(req, ind)) !=	    SNMP_ERROR_SUCCESS) return status;	// place additional code to check validity of new values here	return SNMP_ERROR_SUCCESS;}/** *  atmVplConnKind * */atmVplConnKind::atmVplConnKind(const Oidx& id):   SimMibLeaf(id, READCREATE, new SnmpInt32(1), VMODE_DEFAULT){}atmVplConnKind::~atmVplConnKind(){}MibEntryPtr atmVplConnKind::clone(){	MibEntryPtr other = new atmVplConnKind(oid);	((atmVplConnKind*)other)->replace_value(value->clone());	((atmVplConnKind*)other)->set_reference_to_table(my_table);	return other;}boolean atmVplConnKind::value_ok(const Vbx& vb){	long v;	vb.get_value(v);	if ((v != 1)	     && (v != 2) && (v != 3)	     && (v != 4) && (v != 5)	    ) return FALSE;	// place additional code to check validity of new values here	return TRUE;}int atmVplConnKind::prepare_set_request(Request* req, int& ind){	int status;	if ((status = SimMibLeaf::prepare_set_request(req, ind)) !=	    SNMP_ERROR_SUCCESS) return status;	// place additional code to check validity of new values here	return SNMP_ERROR_SUCCESS;}/** *  atmVclAdminStatus * */atmVclAdminStatus::atmVclAdminStatus(const Oidx& id):   SimMibLeaf(id, READCREATE, new SnmpInt32(2), VMODE_DEFAULT){}atmVclAdminStatus::~atmVclAdminStatus(){}MibEntryPtr atmVclAdminStatus::clone(){	MibEntryPtr other = new atmVclAdminStatus(oid);	((atmVclAdminStatus*)other)->replace_value(value->clone());	((atmVclAdminStatus*)other)->set_reference_to_table(my_table);	return other;}boolean atmVclAdminStatus::value_ok(const Vbx& vb){	long v;	vb.get_value(v);	if ((v != 1)	     && (v != 2)) return FALSE;	// place additional code to check validity of new values here	return TRUE;}int atmVclAdminStatus::prepare_set_request(Request* req, int& ind){	int status;	if ((status = SimMibLeaf::prepare_set_request(req, ind)) !=	    SNMP_ERROR_SUCCESS) return status;	// place additional code to check validity of new values here	return SNMP_ERROR_SUCCESS;}/** *  atmVclOperStatus * */atmVclOperStatus::atmVclOperStatus(const Oidx& id):   SimMibLeaf(id, READONLY, new SnmpInt32()){}atmVclOperStatus::~atmVclOperStatus(){}MibEntryPtr atmVclOperStatus::clone(){	MibEntryPtr other = new atmVclOperStatus(oid);	((atmVclOperStatus*)other)->replace_value(value->clone());	((atmVclOperStatus*)other)->set_reference_to_table(my_table);	return other;}/** *  atmVclLastChange * */atmVclLastChange::atmVclLastChange(const Oidx& id):   SimMibLeaf(id, READONLY, new TimeTicks()){}atmVclLastChange::~atmVclLastChange(){}MibEntryPtr atmVclLastChange::clone(){	MibEntryPtr other = new atmVclLastChange(oid);	((atmVclLastChange*)other)->replace_value(value->clone());	((atmVclLastChange*)other)->set_reference_to_table(my_table);	return other;}/** *  atmVclReceiveTrafficDescrIndex * */atmVclReceiveTrafficDescrIndex::atmVclReceiveTrafficDescrIndex(const Oidx& id):   SimMibLeaf(id, READCREATE, new SnmpInt32(0), VMODE_DEFAULT){}atmVclReceiveTrafficDescrIndex::~atmVclReceiveTrafficDescrIndex(){}MibEntryPtr atmVclReceiveTrafficDescrIndex::clone(){	MibEntryPtr other = new atmVclReceiveTrafficDescrIndex(oid);	((atmVclReceiveTrafficDescrIndex*)other)->replace_value(value->clone());	((atmVclReceiveTrafficDescrIndex*)other)->set_reference_to_table(my_table);	return other;}boolean atmVclReceiveTrafficDescrIndex::value_ok(const Vbx& vb){	long v;	vb.get_value(v);	if (!(((v >= 0) && (v <= 2147483647))))		 return FALSE;	// place additional code to check validity of new values here	return TRUE;}int atmVclReceiveTrafficDescrIndex::prepare_set_request(Request* req, int& ind){	int status;	if ((status = SimMibLeaf::prepare_set_request(req, ind)) !=	    SNMP_ERROR_SUCCESS) return status;	// place additional code to check validity of new values here	return SNMP_ERROR_SUCCESS;}/** *  atmVclTransmitTrafficDescrIndex * */atmVclTransmitTrafficDescrIndex::atmVclTransmitTrafficDescrIndex(const Oidx& id):   SimMibLeaf(id, READCREATE, new SnmpInt32(0), VMODE_DEFAULT){}atmVclTransmitTrafficDescrIndex::~atmVclTransmitTrafficDescrIndex(){}MibEntryPtr atmVclTransmitTrafficDescrIndex::clone(){	MibEntryPtr other = new atmVclTransmitTrafficDescrIndex(oid);	((atmVclTransmitTrafficDescrIndex*)other)->replace_value(value->clone());	((atmVclTransmitTrafficDescrIndex*)other)->set_reference_to_table(my_table);	return other;}boolean atmVclTransmitTrafficDescrIndex::value_ok(const Vbx& vb){	long v;	vb.get_value(v);	if (!(((v >= 0) && (v <= 2147483647))))		 return FALSE;	// place additional code to check validity of new values here	return TRUE;}int atmVclTransmitTrafficDescrIndex::prepare_set_request(Request* req, int& ind){	int status;	if ((status = SimMibLeaf::prepare_set_request(req, ind)) !=	    SNMP_ERROR_SUCCESS) return status;	// place additional code to check validity of new values here	return SNMP_ERROR_SUCCESS;}/** *  atmVccAalType * */atmVccAalType::atmVccAalType(const Oidx& id):   SimMibLeaf(id, READCREATE, new SnmpInt32(3), VMODE_DEFAULT){}atmVccAalType::~atmVccAalType(){}MibEntryPtr atmVccAalType::clone(){	MibEntryPtr other = new atmVccAalType(oid);	((atmVccAalType*)other)->replace_value(value->clone());	((atmVccAalType*)other)->set_reference_to_table(my_table);	return other;}boolean atmVccAalType::value_ok(const Vbx& vb){	long v;	vb.get_value(v);	if ((v != 1)	     && (v != 2) && (v != 3)	     && (v != 4) && (v != 5)	     && (v != 6)) return FALSE;	// place additional code to check validity of new values here	return TRUE;}int atmVccAalType::prepare_set_request(Request* req, int& ind){	int status;	if ((status = SimMibLeaf::prepare_set_request(req, ind)) !=	    SNMP_ERROR_SUCCESS) return status;	// place additional code to check validity of new values here	return SNMP_ERROR_SUCCESS;}/** *  atmVccAal5CpcsTransmitSduSize * */atmVccAal5CpcsTransmitSduSize::atmVccAal5CpcsTransmitSduSize(const Oidx& id):   SimMibLeaf(id, READCREATE, new SnmpInt32(9188), VMODE_DEFAULT){}atmVccAal5CpcsTransmitSduSize::~atmVccAal5CpcsTransmitSduSize(){}MibEntryPtr atmVccAal5CpcsTransmitSduSize::clone(){	MibEntryPtr other = new atmVccAal5CpcsTransmitSduSize(oid);	((atmVccAal5CpcsTransmitSduSize*)other)->replace_value(value->clone());	((atmVccAal5CpcsTransmitSduSize*)other)->set_reference_to_table(my_table);	return other;}boolean atmVccAal5CpcsTransmitSduSize::value_ok(const Vbx& vb){	long v;	vb.get_value(v);	if (!(((v >= 1) && (v <= 65535))))		 return FALSE;	// place additional code to check validity of new values here	return TRUE;}int atmVccAal5CpcsTransmitSduSize::prepare_set_request(Request* req, int& ind){	int status;	if ((status = SimMibLeaf::prepare_set_request(req, ind)) !=	    SNMP_ERROR_SUCCESS) return status;	// place additional code to check validity of new values here	return SNMP_ERROR_SUCCESS;}/** *  atmVccAal5CpcsReceiveSduSize * */atmVccAal5CpcsReceiveSduSize::atmVccAal5CpcsReceiveSduSize(const Oidx& id):   SimMibLeaf(id, READCREATE, new SnmpInt32(9188), VMODE_DEFAULT){}atmVccAal5CpcsReceiveSduSize::~atmVccAal5CpcsReceiveSduSize(){}MibEntryPtr atmVccAal5CpcsReceiveSduSize::clone(){	MibEntryPtr other = new atmVccAal5CpcsReceiveSduSize(oid);	((atmVccAal5CpcsReceiveSduSize*)other)->replace_value(value->clone());

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -