|
|
| version 1.37, 2016/04/01 16:27:31 | version 1.38, 2016/04/06 16:08:19 |
|---|---|
| Line 19 | Line 19 |
| @see Methoded_array | @see Methoded_array |
| */ | */ |
| class Methoded: public VStateless_class { | class Methoded: public VStateless_class { |
| public: // Value | |
| override const char* type() const { return ftype; } | |
| public: // Methoded | public: // Methoded |
| /** should Methoded_array::register_directly_used register this class in | /** should Methoded_array::register_directly_used register this class in |
| Line 34 public: // Methoded | Line 38 public: // Methoded |
| /// use it to construct static variables. check some static so that would be only ONCE! | /// use it to construct static variables. check some static so that would be only ONCE! |
| virtual void construct_statics() {} | virtual void construct_statics() {} |
| private: | |
| const char* ftype; | |
| public: // usage | public: // usage |
| Methoded(const char* aname, VStateless_class* abase=0): VStateless_class(aname, abase) {} | Methoded(const char* atype): ftype(atype){} |
| void register_directly_used(Request& r); | void register_directly_used(Request& r); |