📄 propertybuffer.h
字号:
////////////////////////////////////////////////////////////////////////////////// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -