58class SimpleReadOnlyPropertyT
62 typedef typename SimplePropertyTraitsT<T>::ConstReferenceType ConstReferenceType;
63 typedef typename SimplePropertyTraitsT<T>::ReferenceType ReferenceType;
64 typedef typename SimplePropertyTraitsT<T>::ValueType ValueType;
68 SimpleReadOnlyPropertyT() : m_value(T()) {}
69 SimpleReadOnlyPropertyT(ConstReferenceType v) : m_value(v) {}
73 ConstReferenceType get()
const {
return m_value; }
88:
public SimpleReadOnlyPropertyT<T>
92 typedef typename SimplePropertyTraitsT<T>::ConstReferenceType ConstReferenceType;
93 typedef typename SimplePropertyTraitsT<T>::ReferenceType ReferenceType;
94 typedef typename SimplePropertyTraitsT<T>::ValueType ValueType;
98 SimplePropertyT() : SimpleReadOnlyPropertyT<T>() {}
99 SimplePropertyT(ConstReferenceType v) : SimpleReadOnlyPropertyT<T>(v) {}
103 inline ConstReferenceType get()
const {
return this->m_value; }
104 inline ReferenceType get() {
return this->m_value; }
105 inline void put(ConstReferenceType v) { this->m_value = v; }