00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 INLINE bool ConfigPage::
00024 operator < (const ConfigPage &other) const {
00025 if (is_implicit() != other.is_implicit()) {
00026
00027
00028
00029 return (int)is_implicit() < (int)other.is_implicit();
00030 }
00031
00032
00033
00034
00035 return get_page_seq() > other.get_page_seq();
00036 }
00037
00038
00039
00040
00041
00042
00043
00044 INLINE const string &ConfigPage::
00045 get_name() const {
00046 return _name;
00047 }
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058 INLINE bool ConfigPage::
00059 is_special() const {
00060 return this == get_default_page() || this == get_local_page();
00061 }
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071 INLINE bool ConfigPage::
00072 is_implicit() const {
00073 return _implicit_load;
00074 }
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090 INLINE int ConfigPage::
00091 get_page_seq() const {
00092 return _page_seq;
00093 }
00094
00095
00096
00097
00098
00099
00100
00101
00102
00103
00104
00105 INLINE int ConfigPage::
00106 get_trust_level() const {
00107 return _trust_level;
00108 }
00109
00110
00111
00112
00113
00114
00115
00116
00117
00118 INLINE void ConfigPage::
00119 set_trust_level(int trust_level) {
00120 _trust_level = trust_level;
00121 }
00122
00123
00124
00125
00126
00127
00128
00129
00130 INLINE const string &ConfigPage::
00131 get_signature() const {
00132 return _signature;
00133 }
00134
00135
00136
00137
00138
00139
00140
00141
00142
00143 INLINE void ConfigPage::
00144 make_dirty() {
00145 _trust_level = 0;
00146 }
00147
00148 INLINE ostream &
00149 operator << (ostream &out, const ConfigPage &page) {
00150 page.output(out);
00151 return out;
00152 }