The Tigris site will receive a major upgrade the evening of Monday, December 1, beginning at 8:30 pm PST. Downtime is projected to be about ten hours.
Further details in the announcement
property.hpp
Go to the documentation of this file.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 #ifndef _SVNCPP_PROPERTY_H_
00027 #define _SVNCPP_PROPERTY_H_
00028
00029
00030
00031 #if defined (_MSC_VER) && _MSC_VER <= 1200
00032 #pragma warning (disable: 4786)
00033 #endif
00034
00035
00036 #if defined (_MSC_VER) && _MSCVER > 1200 && _MSCVER <= 1310
00037 #pragma warning (disable: 4290)
00038 #endif
00039
00040
00041
00042 #include <vector>
00043 #include <string>
00044
00045
00046 #include "svncpp/context.hpp"
00047 #include "svncpp/path.hpp"
00048
00049 namespace svn
00050 {
00051 struct PropertyEntry
00052 {
00053 std::string name;
00054 std::string value;
00055
00056 PropertyEntry (const char * name, const char * value);
00057 };
00058
00059
00060 class Path;
00061
00065 class Property
00066 {
00067 public:
00068 Property (Context * context = 0,
00069 const Path & path = "");
00070
00071 virtual ~Property ();
00072
00077 const std::vector<PropertyEntry> &
00078 entries () const
00079 {
00080 return m_entries;
00081 }
00082
00089 void set (const char * name, const char * value);
00090
00095 void remove (const char * name);
00096
00097 private:
00098 Context * m_context;
00099 Path m_path;
00100 std::vector<PropertyEntry> m_entries;
00101
00102 std::string getValue (const char * name);
00103 void list ();
00104 };
00105 }
00106
00107 #endif
00108
00109
00110
00111
00112
Generated on Tue Mar 4 00:40:36 2008 for SvnCpp by
1.5.3