More stuff and tests integrated
This commit is contained in:
parent
ccd7cc30ef
commit
b9d77922ed
16 changed files with 92 additions and 119 deletions
include/ebcl
|
@ -2,11 +2,11 @@
|
|||
/* FILES **********************************************************************/
|
||||
/******************************************************************************/
|
||||
|
||||
#ifndef _H_LW_LIB_FILES
|
||||
#define _H_LW_LIB_FILES
|
||||
#include <lw/lib/Streams.hh>
|
||||
#include <lw/lib/Strings.hh>
|
||||
namespace lw {
|
||||
#ifndef _H_EBCL_FILES
|
||||
#define _H_EBCL_FILES
|
||||
#include <ebcl/Streams.hh>
|
||||
#include <ebcl/Strings.hh>
|
||||
namespace ebcl {
|
||||
|
||||
|
||||
/*= FILE ACCESS ==============================================================*/
|
||||
|
@ -183,5 +183,5 @@ M_CLASS_POINTERS( FileOutputStream );
|
|||
|
||||
|
||||
}
|
||||
#endif // _H_LW_LIB_FILES
|
||||
#include <lw/lib/inline/Files.hh>
|
||||
#endif // _H_EBCL_FILES
|
||||
#include <ebcl/inline/Files.hh>
|
||||
|
|
|
@ -2,9 +2,10 @@
|
|||
/* MEMORY STREAMS *************************************************************/
|
||||
/******************************************************************************/
|
||||
|
||||
#pragma once
|
||||
#include <lw/lib/Streams.hh>
|
||||
namespace lw {
|
||||
#ifndef _H_EBCL_MEMORYSTREAMS
|
||||
#define _H_EBCL_MEMORYSTREAMS
|
||||
#include <ebcl/Streams.hh>
|
||||
namespace ebcl {
|
||||
|
||||
|
||||
class T_MemoryInputStream final : public A_InputStream
|
||||
|
@ -59,4 +60,5 @@ M_CLASS_POINTERS( MemoryOutputStream );
|
|||
|
||||
|
||||
} // namespace
|
||||
#include <lw/lib/inline/MemoryStreams.hh>
|
||||
#include <ebcl/inline/MemoryStreams.hh>
|
||||
#endif // _H_EBCL_MEMORYSTREAMS
|
||||
|
|
|
@ -232,7 +232,7 @@ template< typename T >
|
|||
|
||||
// M_DEFINE_SWAP( Type ) - Define the swap function for a given type
|
||||
#define M_DEFINE_SWAP( Type ) \
|
||||
void lw::swap( Type& lhs , Type& rhs ) noexcept
|
||||
void swap( Type& lhs , Type& rhs ) noexcept
|
||||
|
||||
|
||||
/*= ENDIAN DETECTION =========================================================*/
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
/* FILES - INLINE CODE ********************************************************/
|
||||
/******************************************************************************/
|
||||
|
||||
#ifndef _H_LW_LIB_INLINE_FILES
|
||||
#define _H_LW_LIB_INLINE_FILES
|
||||
#include <lw/lib/Files.hh>
|
||||
namespace lw {
|
||||
#ifndef _H_EBCL_INLINE_FILES
|
||||
#define _H_EBCL_INLINE_FILES
|
||||
#include <ebcl/Files.hh>
|
||||
namespace ebcl {
|
||||
|
||||
|
||||
/*= T_File ===================================================================*/
|
||||
|
@ -96,4 +96,4 @@ inline size_t T_FileOutputStream::offset( ) const noexcept
|
|||
|
||||
|
||||
} // namespace
|
||||
#endif // _H_LW_LIB_INLINE_FILES
|
||||
#endif // _H_EBCL_INLINE_FILES
|
||||
|
|
|
@ -2,9 +2,10 @@
|
|||
/* MEMORY STREAMS - INLINE CODE ***********************************************/
|
||||
/******************************************************************************/
|
||||
|
||||
#pragma once
|
||||
#include <lw/lib/MemoryStreams.hh>
|
||||
namespace lw {
|
||||
#ifndef _H_EBCL_INLINE_MEMORYSTREAMS
|
||||
#define _H_EBCL_INLINE_MEMORYSTREAMS
|
||||
#include <ebcl/MemoryStreams.hh>
|
||||
namespace ebcl {
|
||||
|
||||
|
||||
/*= T_MemoryInputStream ======================================================*/
|
||||
|
@ -41,3 +42,4 @@ inline T_MemoryOutputStream::T_MemoryOutputStream( T_Buffer< T >& buffer )
|
|||
|
||||
|
||||
} // namespace
|
||||
#endif // _H_EBCL_INLINE_MEMORYSTREAMS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue