2
Copyright (c) 2008-2009 NetAllied Systems GmbH
4
This file is part of COLLADAStreamWriter.
6
Licensed under the MIT Open Source License,
7
for details please see LICENSE file or the website
8
http://www.opensource.org/licenses/mit-license.php
11
#ifndef __COLLADASTREAMWRITER_LIBRARY_H__
12
#define __COLLADASTREAMWRITER_LIBRARY_H__
14
#include "COLLADASWPrerequisites.h"
15
#include "COLLADASWElementWriter.h"
20
/** Base class for all libraries*/
21
class Library : public ElementWriter
26
@param streamWriter the stream writer the library should be written to
28
Library ( StreamWriter* streamWriter, const String& name );
33
/** Closes the @a \<library_geometry\> tag.
34
This function should be called after the last geometry has been added*/
37
/** Opens the library.
38
This function must be called before the first geometry is added*/
42
TagCloser mLibraryCloser; ///< Used to close the library tag
43
bool mLibraryOpen; ///< true, if a library has been open and not closed. false otherwise.
49
} //namespace COLLADASW
51
#endif //__COLLADASTREAMWRITER_LIBRARY_H__