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_EXTRA_H__
12
#define __COLLADASTREAMWRITER_EXTRA_H__
14
#include "COLLADASWPrerequisites.h"
15
#include "COLLADASWElementWriter.h"
21
/** A class to add an Asset to the stream.*/
23
class Extra : public ElementWriter
28
@param streamWriter The stream the asset should be written to.*/
29
Extra ( StreamWriter* streamWriter ) : ElementWriter ( streamWriter ) {}
34
/** Opens the extra tag. */
35
void openExtra ( const String &extraId="", const String &extraName="", const String &extraType="" );
37
/** Closes the extra tag */
42
/** Used to close the current extra. */
43
TagCloser mExtraCloser;
46
} //namespace COLLADASW
49
#endif //__COLLADASTREAMWRITER_EXTRA_H__