2
Copyright (c) 2008-2009 NetAllied Systems GmbH
4
This file is part of MayaDataModel.
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
10
#ifndef __MayaDM_RENDERGLOBALSLIST_H__
11
#define __MayaDM_RENDERGLOBALSLIST_H__
12
#include "MayaDMTypes.h"
13
#include "MayaDMConnectables.h"
14
#include "MayaDMDependNode.h"
17
class RenderGlobalsList : public DependNode
22
RenderGlobalsList():DependNode(){}
23
RenderGlobalsList(FILE* file,const std::string& name,const std::string& parent="",bool shared=false,bool create=true)
24
:DependNode(file, name, parent, "renderGlobalsList", shared, create){}
25
virtual ~RenderGlobalsList(){}
27
void getRenderGlobals(size_t rg_i)const
29
fprintf(mFile,"\"%s.rg[%i]\"",mName.c_str(),rg_i);
31
void getRenderGlobals()const
34
fprintf(mFile,"\"%s.rg\"",mName.c_str());
36
void getRenderQualities(size_t rq_i)const
38
fprintf(mFile,"\"%s.rq[%i]\"",mName.c_str(),rq_i);
40
void getRenderQualities()const
43
fprintf(mFile,"\"%s.rq\"",mName.c_str());
45
void getRenderResolutions(size_t rr_i)const
47
fprintf(mFile,"\"%s.rr[%i]\"",mName.c_str(),rr_i);
49
void getRenderResolutions()const
52
fprintf(mFile,"\"%s.rr\"",mName.c_str());
55
RenderGlobalsList(FILE* file,const std::string& name,const std::string& parent,const std::string& nodeType,bool shared=false,bool create=true)
56
:DependNode(file, name, parent, nodeType, shared, create) {}
60
#endif//__MayaDM_RENDERGLOBALSLIST_H__