Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- template <typename CMD>
- class Version
- {
- public:
- Version(ByteVector &byteVector) : byteVector(byteVector) {};
- Object<DATA<CMD>> cls_DATA();
- Object<USR<CMD>> cls_USR();
- Object<AUTH<CMD>> cls_AUTH();
- Object<CONN<CMD>> cls_CONN();
- private:
- ByteVector &byteVector;
- };
- template<typename CMD>
- inline Object<AUTH<CMD>> Version<CMD>::cls_AUTH()
- {
- return Object<AUTH<CMD>>(byteVector);
- }
- template <>
- class Version<AOPEN>
- {
- public:
- Version(ByteVector &byteVector) : byteVector(byteVector) {};
- Object<AUTH<AOPEN>> cls_AUTH();
- private:
- ByteVector &byteVector;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement