00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #if !defined(_hyp_registryfile_h_)
00030 #define _hyp_registryfile_h_
00031
00032 #ifndef hyp_KERNEL_CORE_INSIDE
00033 #error Inclusion not allowed (include hyp.kernel.core.h instead)
00034 #endif
00035
00036
00037
00038 class CStdRegistry;
00039
00040
00041 class hyp_ker_DLL CStdRegistryFile
00042 {
00043 bool GetPosValue(const std::string&,
00044 std::string::size_type&,
00045 std::string::size_type&) const;
00046 bool GetPosKey(const std::string&,
00047 std::string::size_type&,
00048 std::string::size_type&) const;
00049 void DeletePartofStream(const std::string&,
00050 const std::string::size_type&,
00051 const std::string::size_type&);
00052
00053 CStdRegistry* m_pRegistry;
00054 std::string m_Name;
00055 std::string m_FileString;
00056
00057 public:
00058
00059 CStdRegistryFile(const std::string&,CStdRegistry*);
00060 virtual ~CStdRegistryFile();
00061
00062 std::string GetValue(const std::string&) const;
00063 void SetValue(const std::string&,const std::string&);
00064 void SetKey(const std::string&);
00065 void DeleteKey(const std::string&);
00066 };
00067
00068
00069
00070 #endif