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_OBJECTATTRFILTER_H__
11
#define __MayaDM_OBJECTATTRFILTER_H__
12
#include "MayaDMTypes.h"
13
#include "MayaDMConnectables.h"
14
#include "MayaDMObjectFilter.h"
17
class ObjectAttrFilter : public ObjectFilter
22
ObjectAttrFilter():ObjectFilter(){}
23
ObjectAttrFilter(FILE* file,const std::string& name,const std::string& parent="",bool shared=false,bool create=true)
24
:ObjectFilter(file, name, parent, "objectAttrFilter", shared, create){}
25
virtual ~ObjectAttrFilter(){}
27
void setAttrType(unsigned int atyp)
30
fprintf(mFile,"\tsetAttr \".atyp\" %i;\n", atyp);
32
void getAttrType()const
34
fprintf(mFile,"\"%s.atyp\"",mName.c_str());
37
ObjectAttrFilter(FILE* file,const std::string& name,const std::string& parent,const std::string& nodeType,bool shared=false,bool create=true)
38
:ObjectFilter(file, name, parent, nodeType, shared, create) {}
42
#endif//__MayaDM_OBJECTATTRFILTER_H__