本文整理汇总了C++中ContainerNode::writeInt方法的典型用法代码示例。如果您正苦于以下问题:C++ ContainerNode::writeInt方法的具体用法?C++ ContainerNode::writeInt怎么用?C++ ContainerNode::writeInt使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ContainerNode
的用法示例。
在下文中一共展示了ContainerNode::writeInt方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: writeObject
void ApplicationSettings::writeObject(ContainerNode &node) const throw(Error) {
node.writeInt("_Motion_Calibration_Min", _Motion_Calibration_Min);
node.writeInt("_Motion_Calibration_Max", _Motion_Calibration_Max);
node.writeInt("_Motion_Calibration_Threshold", _Motion_Calibration_Threshold);
node.writeInt("_Motion_Calibration_Timeout", _Motion_Calibration_Timeout);
node.writeInt("_Motion_Calibration_CalibrationOffset", _Motion_Calibration_CalibrationOffset);
node.writeInt("_Motion_Port_CLK", _Motion_Port_CLK);
node.writeInt("_Motion_Port_DOut", _Motion_Port_DOut);
node.writeInt("_Motion_Port_DIn", _Motion_Port_DIn);
node.writeInt("_Motion_Port_CS", _Motion_Port_CS);
node.writeInt("_Servo_Port_A", _Servo_Port_A);
node.writeInt("_Servo_Port_B", _Servo_Port_B);
node.writeObject(_Servo_Calibration_A);
node.writeObject(_Servo_Calibration_B);
node.writeInt("_Speak_LogOutput", _Speak_LogOutput);
node.writeString("_Speak_ErrorFilename", _Speak_ErrorFilename);
node.writeString("_Speak_LogFilename", _Speak_LogFilename);
node.writeString("_Speak_ModelDir", _Speak_ModelDir);
node.writeInt("_Speak_Language", _Speak_Language);
node.writeString("_Speak_Dictionary", _Speak_Dictionary);
node.writeString("_Speak_AudioModel", _Speak_AudioModel);
node.writeInt("_Speak_SampelRate", _Speak_SampelRate);
node.writeInt("_Speak_BestPath", _Speak_BestPath);
node.writeInt("_SIP_Config_Codec_Type", _SIP_Config_Codec_Type);
node.writeInt("_SIP_Config_Ringtone", _SIP_Config_Ringtone);
node.writeString("_SIP_Config_Ringtone_File", _SIP_Config_Ringtone_File);
node.writeString("_SIP_Config_Receiver", _SIP_Config_Receiver);
node.writeObject(_SIP_Config_Endpoint);
node.writeObject(_SIP_Config_Transport);
node.writeObject(_SIP_Config_Account);
}