~ubuntu-branches/ubuntu/wily/opencollada/wily-proposed

« back to all changes in this revision

Viewing changes to COLLADAStreamWriter/include/COLLADASWElementWriter.h

  • Committer: Package Import Robot
  • Author(s): Matteo F. Vescovi
  • Date: 2015-05-14 17:23:27 UTC
  • Revision ID: package-import@ubuntu.com-20150514172327-f862u8envms01fra
Tags: upstream-0.1.0~20140703.ddf8f47+dfsg1
ImportĀ upstreamĀ versionĀ 0.1.0~20140703.ddf8f47+dfsg1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
    Copyright (c) 2008-2009 NetAllied Systems GmbH
 
3
 
 
4
        This file is part of COLLADAStreamWriter.
 
5
        
 
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
 
9
*/
 
10
 
 
11
#ifndef __COLLADASTREAMWRITER_ELEMENT_WRITER_H__
 
12
#define __COLLADASTREAMWRITER_ELEMENT_WRITER_H__
 
13
 
 
14
#include "COLLADASWPrerequisites.h"
 
15
#include "COLLADASWStreamWriter.h"
 
16
 
 
17
namespace COLLADASW
 
18
{
 
19
    /** The base class of all classes that write elements to the stream*/
 
20
 
 
21
    class ElementWriter
 
22
    {
 
23
 
 
24
    public:
 
25
        /** Constructor
 
26
        @param streamWriter The stream writer that should be used to write to the stream*/
 
27
        ElementWriter ( StreamWriter* streamWriter ) : mSW ( streamWriter ) {}
 
28
 
 
29
        static const String EMPTY_STRING;
 
30
 
 
31
    protected:
 
32
 
 
33
        StreamWriter* mSW;
 
34
 
 
35
 
 
36
    };
 
37
 
 
38
} //namespace COLLADASW
 
39
 
 
40
#endif //__COLLADASTREAMWRITER_ELEMENT_WRITER_H__