1 #ifndef AWFUL_ABF_WRITER_CONTEXT_FWD_H
2 #define AWFUL_ABF_WRITER_CONTEXT_FWD_H
6 namespace awful
{ namespace abf
{ namespace Impl
8 template< class stream_type
> class WriteContext
11 WriteContext( stream_type
& Stream_
) :
17 template< class C
> void writeObject( const Pointer
< C
>& pObj_
);
19 int32_t getObjectID( const RefCounted
* pObject
)
21 std::map
< const RefCounted
*, int32_t >::const_iterator it
=
22 m_Objects
.find( pObject
);
24 if( it
== m_Objects
.end() )
33 std::map
< const RefCounted
*, int32_t > m_Objects
;