00001 /* 00002 * Copyright 2006 Sony Computer Entertainment Inc. 00003 * 00004 * Licensed under the MIT Open Source License, for details please see license.txt or the website 00005 * http://www.opensource.org/licenses/mit-license.php 00006 * 00007 */ 00008 00009 #ifndef __DAE_META_SEQUENCE_H__ 00010 #define __DAE_META_SEQUENCE_H__ 00011 00012 #include <dae/daeMetaCMPolicy.h> 00013 00017 class daeMetaSequence : public daeMetaCMPolicy 00018 { 00019 public: 00029 daeMetaSequence( daeMetaElement *container, daeMetaCMPolicy *parent = NULL, daeUInt ordinal = 0, daeInt minO = 1, daeInt maxO = 1 ); 00030 00034 ~daeMetaSequence(); 00035 00036 daeElement *placeElement( daeElement *parent, daeElement *child, daeUInt &ordinal, daeInt offset = 0, daeElement* before = NULL, daeElement *after = NULL ); 00037 daeBool removeElement(daeElement* parent, daeElement* child); 00038 daeMetaElement *findChild( daeString elementName ); 00039 void getChildren( daeElement* parent, daeElementRefArray &array ); 00040 00041 }; 00042 00043 00044 #endif 00045 00046