Lines Matching refs:ClassName

32 #define PRV_SV_DECL_REF_SIGNATURE( ClassName, Ref )						\  argument
33 inline ClassName##Ref() { pObj = 0; } \
34 inline ClassName##Ref( const ClassName##Ref & rObj ); \
35 inline ClassName##Ref( ClassName * pObjP ); \
37 inline ~ClassName##Ref(); \
38 inline ClassName##Ref & operator = ( const ClassName##Ref & rObj ); \
39 inline ClassName##Ref & operator = ( ClassName * pObj ); \
41 inline ClassName * operator & () const { return pObj; } \
42 inline ClassName * operator -> () const { return pObj; } \
43 inline ClassName & operator * () const { return *pObj; } \
44 inline operator ClassName * () const { return pObj; }
46 #define PRV_SV_IMPL_REF_COUNTERS( ClassName, Ref, AddRef, AddNextRef, ReleaseRef, Init, pRefbase ) \ argument
47 inline ClassName##Ref::ClassName##Ref( const ClassName##Ref & rObj ) \
49 inline ClassName##Ref::ClassName##Ref( ClassName * pObjP ) \
51 inline void ClassName##Ref::Clear() \
55 ClassName* const pRefObj = pRefbase; \
60 inline ClassName##Ref::~ClassName##Ref() \
62 inline ClassName##Ref & ClassName##Ref:: \
63 operator = ( const ClassName##Ref & rObj ) \
66 ClassName* const pRefObj = pRefbase; \
71 inline ClassName##Ref & ClassName##Ref::operator = ( ClassName * pObjP ) \
72 { return *this = ClassName##Ref( pObjP ); }
74 #define PRV_SV_DECL_REF_LOCK(ClassName, Ref) \ argument
76 ClassName * pObj; \
78 PRV_SV_DECL_REF_SIGNATURE(ClassName, Ref)
80 #define PRV_SV_DECL_REF( ClassName ) \ argument
81 PRV_SV_DECL_REF_LOCK( ClassName, Ref )
83 #define PRV_SV_DECL_LOCK( ClassName ) \ argument
84 PRV_SV_DECL_REF_LOCK( ClassName, Lock )
86 #define SV_DECL_REF( ClassName ) \ argument
87 class ClassName; \
88 class ClassName##Ref \
90 PRV_SV_DECL_REF( ClassName ) \
93 #define SV_DECL_LOCK( ClassName ) \ argument
94 class ClassName; \
95 class ClassName##Lock \
97 PRV_SV_DECL_LOCK( ClassName ) \
100 #define SV_IMPL_REF( ClassName ) \ argument
101 PRV_SV_IMPL_REF_COUNTERS( ClassName, Ref, AddRef(), AddNextRef(),\
104 #define SV_IMPL_LOCK( ClassName ) \ argument
105 PRV_SV_IMPL_REF_COUNTERS( ClassName, Lock, OwnerLock( sal_True ), \
109 #define SV_DECL_IMPL_REF(ClassName) \ argument
110 SV_DECL_REF(ClassName) \
111 SV_IMPL_REF(ClassName)
113 #define SV_DECL_IMPL_LOCK( ClassName ) \ argument
114 SV_DECL_LOCK(ClassName) \
115 SV_IMPL_LOCK(ClassName)
226 #define SV_DECL_IMPL_REF_LIST(ClassName,EntryName) \ argument
227 SV_DECL_REF_LIST(ClassName,EntryName) \
228 SV_IMPL_REF_LIST(ClassName,EntryName)
257 #define PRV_SV_IMPL_MEMBER_LIST(ClassName,EntryName,BaseList)\ argument
258 inline ClassName##MemberList::ClassName##MemberList\
261 inline void ClassName##MemberList::Insert( EntryName p )\
263 inline void ClassName##MemberList::Insert( EntryName p, sal_uIntPtr nIdx )\
265 inline void ClassName##MemberList::Insert( EntryName p, EntryName pOld )\
267 inline void ClassName##MemberList::Append( EntryName p )\
269 inline EntryName ClassName##MemberList::Remove()\
271 inline EntryName ClassName##MemberList::Remove( sal_uIntPtr nIdx )\
273 inline EntryName ClassName##MemberList::Remove( EntryName p )\
275 inline EntryName ClassName##MemberList::Replace( EntryName p )\
277 inline EntryName ClassName##MemberList::Replace( EntryName p, sal_uIntPtr nIdx )\
279 inline EntryName ClassName##MemberList::Replace( EntryName p, EntryName pOld )\
281 inline EntryName ClassName##MemberList::GetCurObject() const\
283 inline EntryName ClassName##MemberList::GetObject( sal_uIntPtr nIdx ) const\
285 inline EntryName ClassName##MemberList::Seek( sal_uIntPtr nIdx )\
287 inline EntryName ClassName##MemberList::Seek( EntryName p )\
289 inline EntryName ClassName##MemberList::First()\
291 inline EntryName ClassName##MemberList::Last()\
293 inline EntryName ClassName##MemberList::Next()\
295 inline EntryName ClassName##MemberList::Prev()\
297 inline void ClassName##MemberList::Append( const ClassName##MemberList & rList )\
299 inline sal_uIntPtr ClassName##MemberList::GetPos( const EntryName p) const\
301 inline sal_uIntPtr ClassName##MemberList::GetPos\
305 #define SV_DECL_MEMBER_LIST(ClassName,EntryName)\ argument
306 class ClassName##MemberList : public SvRefBaseMemberList\
309 PRV_SV_DECL_MEMBER_LIST(ClassName,EntryName)\
312 #define SV_IMPL_MEMBER_LIST(ClassName,EntryName)\ argument
313 PRV_SV_IMPL_MEMBER_LIST(ClassName,EntryName,SvRefBaseMemberList)
315 #define SV_DECL_IMPL_MEMBER_LIST(ClassName,EntryName)\ argument
316 SV_DECL_MEMBER_LIST(ClassName,EntryName)\
317 SV_IMPL_MEMBER_LIST(ClassName,EntryName)
424 #define SV_DECL_WEAK_IMPL( ClassName, HdlName ) \ argument
425 class ClassName##Weak \
429 inline ClassName##Weak( ) {} \
430 inline ClassName##Weak( ClassName* pObj ) { \
433 inline ClassName##Weak& operator = ( ClassName * pObj ) { \
437 inline ClassName * operator & () const { \
438 return (ClassName*) ( _xHdl.Is() ? _xHdl->GetObj() : 0 ); } \
439 inline ClassName * operator -> () const { \
440 return (ClassName*) ( _xHdl.Is() ? _xHdl->GetObj() : 0 ); } \
441 inline ClassName & operator * () const { \
442 return *(ClassName*) _xHdl->GetObj(); } \
443 inline operator ClassName * () const { \
444 return (ClassName*) (_xHdl.Is() ? _xHdl->GetObj() : 0 ); } \
447 #define SV_DECL_WEAK( ClassName ) SV_DECL_WEAK_IMPL( ClassName, SvWeakHdlRef ) argument
448 #define SV_DECL_COMPAT_WEAK( ClassName ) SV_DECL_WEAK_IMPL( ClassName, SvCompatWeakHdlRef ) argument