propertybuffer.h
来自「dk1游戏的原代码文件,完整.编译系统redhat7.3,mysql 3.23 」· C头文件 代码 · 共 51 行
H
51 行
////////////////////////////////////////////////////////////////////////////////// Filename : PropertyBuffer.h// Written By : // Description :// DB俊 TEXT 肺 历厘等 Condition/Action 鞘靛甫 颇教秦霖促.// Properties 客 促弗 痢篮, Properties 绰 颇老 郴侩阑 葛滴 颇教秦辑 map 栏肺// 函券茄 促澜, getProperty() 啊 龋免登搁 利例茄 value 甫 府畔窍瘤父,// PropertyBuffer 绰 郴何俊 奴 胶飘傅狼 滚欺甫 滴绊, getProperty()啊 龋免瞪// 锭付促 滚欺狼 菊俊辑何磐 颇教阑 茄锅究 角青茄促绰 痢捞促.////////////////////////////////////////////////////////////////////////////////#ifndef __PROPERTY_BUFFER_H__#define __PROPERTY_BUFFER_H__#include "Types.h"#include "Exception.h"//////////////////////////////////////////////////////////////////////////////// class PropertyBuffer;//////////////////////////////////////////////////////////////////////////////class PropertyBuffer {public: static const char Comment; static const char Separator; static const char EOL; static const char* WhiteSpaces; static const char* SpaceTab; public: PropertyBuffer(const string & buffer) throw(); ~PropertyBuffer() throw(); public: string getProperty(string key) throw(NoSuchElementException, Error); int getPropertyInt(string key) throw(NoSuchElementException, Error); bool getProperty(string key, string& value) throw(NoSuchElementException, Error); bool getPropertyInt(string key, int& value) throw(NoSuchElementException, Error); string toString() const throw(); private: uint m_Index; string m_Buffer; };#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?