Home
last modified time | relevance | path

Searched defs:ResourceHolder (Results 1 – 2 of 2) sorted by relevance

/aoo41x/main/store/source/
H A Dlockbyte.cxx859 template< class T > struct ResourceHolder struct
863 T m_value;
865 explicit ResourceHolder (T const & value = T()) : m_value (value) {} in ResourceHolder() argument
866 ~ResourceHolder() { reset(); } in ~ResourceHolder()
868 T & get() { return m_value; } in get()
869 T const & get() const { return m_value; } in get()
871 void set (T const & value) { m_value = value; } in set()
872 void reset (T const & value = T()) in reset()
879 T release() in release()
886 ResourceHolder (ResourceHolder & rhs) in ResourceHolder() argument
[all …]
/aoo41x/main/store/workben/
H A Dt_page.cxx893 template< class T > struct ResourceHolder struct
899 explicit ResourceHolder (T const & value = T()) : m_value (value) {} in ResourceHolder() argument
900 ~ResourceHolder() { reset(); } in ~ResourceHolder() argument
920 ResourceHolder (ResourceHolder & rhs) in ResourceHolder() argument
924 ResourceHolder & operator= (ResourceHolder & rhs) in operator =() argument

Completed in 52 milliseconds