From e65c8676315257f1ad3cc49b0eafde1eae5ecd28 Mon Sep 17 00:00:00 2001 From: florent <florent@laas.fr> Date: Mon, 28 Jun 2010 13:45:29 +0200 Subject: [PATCH] Cosmetic changes * contiifstream.h: re-indent and remove trailing white spaces. --- include/dynamic-graph/contiifstream.h | 60 +++++++++++++-------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/include/dynamic-graph/contiifstream.h b/include/dynamic-graph/contiifstream.h index 6f82d78c..3ab33f4d 100644 --- a/include/dynamic-graph/contiifstream.h +++ b/include/dynamic-graph/contiifstream.h @@ -43,44 +43,44 @@ /* --- API ------------------------------------------------------------- */ /* --------------------------------------------------------------------- */ -#if defined (WIN32) +#if defined (WIN32) # if defined (sotContiifstream_EXPORTS) # define DYNAMICGRAPHCONTIIFSTREAM_EXPORT __declspec(dllexport) -# else +# else # define DYNAMICGRAPHCONTIIFSTREAM_EXPORT __declspec(dllimport) -# endif +# endif #else # define DYNAMICGRAPHCONTIIFSTREAM_EXPORT #endif namespace dynamicgraph { -/* --------------------------------------------------------------------- */ -/* --- CLASS ----------------------------------------------------------- */ -/* --------------------------------------------------------------------- */ -class DYNAMICGRAPHCONTIIFSTREAM_EXPORT Contiifstream -{ -protected: - std::string filename; - unsigned int cursor; - static const unsigned int BUFFER_SIZE = 256; - char buffer[BUFFER_SIZE]; - std::list< std::string > reader; - bool first; - -public: /* --- Constructor --- */ - Contiifstream( const std::string& n="" ); - ~Contiifstream( void ); - void open( const std::string& n ) { filename=n; cursor=0; } - -public: /* --- READ FILE --- */ - bool loop( void ); - -public: /* --- READ LIST --- */ - inline bool ready( void ) { return 0<reader.size();} - std::string next( void ) ; - - -}; + /* --------------------------------------------------------------------- */ + /* --- CLASS ----------------------------------------------------------- */ + /* --------------------------------------------------------------------- */ + class DYNAMICGRAPHCONTIIFSTREAM_EXPORT Contiifstream + { + protected: + std::string filename; + unsigned int cursor; + static const unsigned int BUFFER_SIZE = 256; + char buffer[BUFFER_SIZE]; + std::list< std::string > reader; + bool first; + + public: /* --- Constructor --- */ + Contiifstream( const std::string& n="" ); + ~Contiifstream( void ); + void open( const std::string& n ) { filename=n; cursor=0; } + + public: /* --- READ FILE --- */ + bool loop( void ); + + public: /* --- READ LIST --- */ + inline bool ready( void ) { return 0<reader.size();} + std::string next( void ) ; + + + }; } // namespace dynamicgraph #endif /* #ifndef __CONTIIFSTREAM_HH__ */ -- GitLab