Home | History | Annotate | Download | only in utils

Lines Matching defs:const

24     SkRTConfBase(const char *name) : fName(name) {}
26 virtual const char *getName() const { return fName.c_str(); }
27 virtual bool isDefault() const = 0;
28 virtual void print(SkWStream *o) const = 0;
29 virtual bool equals(const SkRTConfBase *conf) const = 0;
39 SkRTConf(const char *name, const T &defaultValue, const char *description);
40 operator const T&() const { return fValue; }
41 void print(SkWStream *o) const;
42 bool equals(const SkRTConfBase *conf) const;
43 bool isDefault() const { return fDefault == fValue; }
44 void set(const T& value) { fValue = value; }
46 void doPrint(char *s) const;
78 void printAll(const char *fname = NULL) const;
79 bool hasNonDefault() const;
80 void printNonDefault(const char *fname = NULL) const;
81 const char *configFileLocation() const;
82 void possiblyDumpFile() const;
83 void validate() const;
84 template <typename T> void set(const char *confname,
94 template <typename T> bool parse(const char *name, T* value);
109 SkRTConf<T>::SkRTConf(const char *name, const T &defaultValue, const char *description)
123 void SkRTConf<T>::print(SkWStream *o) const {
144 void SkRTConf<T>::doPrint(char *s) const {
148 template<> inline void SkRTConf<bool>::doPrint(char *s) const {
154 template<> inline void SkRTConf<int>::doPrint(char *s) const {
160 template<> inline void SkRTConf<unsigned int>::doPrint(char *s) const {
166 template<> inline void SkRTConf<float>::doPrint(char *s) const {
172 template<> inline void SkRTConf<double>::doPrint(char *s) const {
178 template<> inline void SkRTConf<const char *>::doPrint(char *s) const {
185 bool SkRTConf<T>::equals(const SkRTConfBase *conf) const {
187 const SkRTConf<T> *child_pointer = static_cast<const SkRTConf<T> *>(conf);