// ********************************************************************** // // Copyright (c) 2003 // ZeroC, Inc. // Billerica, MA, USA // // All Rights Reserved. // // Ice is free software; you can redistribute it and/or modify it under // the terms of the GNU General Public License version 2 as published by // the Free Software Foundation. // // ********************************************************************** #ifndef ICE_BUFFER_H #define ICE_BUFFER_H #include namespace IceInternal { class ICE_API Buffer : public ::IceUtil::noncopyable { public: // TODO: Should not be inline, as this is not performance critical. Buffer() { b.reserve(1000); i = b.begin(); } typedef std::vector Container; Container b; Container::iterator i; }; } #endif