/******************************************************************************/ /* SRD - BINARY STORAGE - INLINE CODE *****************************************/ /******************************************************************************/ #ifndef _H_EBCL_INLINE_SRDBINARY #define _H_EBCL_INLINE_SRDBINARY #include namespace ebcl { inline void SRDBinaryWriteTo( A_OutputStream& output , T_SRDList const& data ) { T_SRDBinaryWriter( output ).start( ).putList( data ).end( ); } /*= T_SRDBinaryReader ========================================================*/ inline T_SRDBinaryReader::T_SRDBinaryReader( A_SRDReaderTarget& target ) : A_SRDReader( target ) { } inline T_SRDList SRDBinaryReadFrom( T_String const& name , A_InputStream& input , bool structured ) { T_SRDErrors errors; T_SRDMemoryTarget mt( structured ); T_SRDBinaryReader( mt ).read( name , input ); return mt.list( ); } } // namespace #endif // _H_EBCL_INLINE_SRDBINARY