57class SimpleReadOnlyPropertyT
61 typedef typename SimplePropertyTraitsT<T>::ConstReferenceType ConstReferenceType;
62 typedef typename SimplePropertyTraitsT<T>::ReferenceType ReferenceType;
63 typedef typename SimplePropertyTraitsT<T>::ValueType ValueType;
67 SimpleReadOnlyPropertyT() : m_value(T()) {}
68 SimpleReadOnlyPropertyT(ConstReferenceType v) : m_value(v) {}
72 ConstReferenceType get()
const {
return m_value; }
87:
public SimpleReadOnlyPropertyT<T>
91 typedef typename SimplePropertyTraitsT<T>::ConstReferenceType ConstReferenceType;
92 typedef typename SimplePropertyTraitsT<T>::ReferenceType ReferenceType;
93 typedef typename SimplePropertyTraitsT<T>::ValueType ValueType;
97 SimplePropertyT() : SimpleReadOnlyPropertyT<T>() {}
98 SimplePropertyT(ConstReferenceType v) : SimpleReadOnlyPropertyT<T>(v) {}
102 inline ConstReferenceType get()
const {
return this->m_value; }
103 inline ReferenceType get() {
return this->m_value; }
104 inline void put(ConstReferenceType v) { this->m_value = v; }