1 /* 2 Copyright (c) 2008-2009 NetAllied Systems GmbH 3 4 This file is part of COLLADASaxFrameworkLoader. 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 12 #ifndef __COLLADASAXFWL_SOURCEARRAYLOADER15_H__ 13 #define __COLLADASAXFWL_SOURCEARRAYLOADER15_H__ 14 15 16 #include "COLLADASaxFWLPrerequisites.h" 17 #include "COLLADASaxFWLSourceArrayLoader.h" 18 #include "COLLADASaxFWLIParserImpl15.h" 19 20 21 namespace COLLADASaxFWL 22 { 23 24 25 class IFilePartLoader; 26 27 28 class SourceArrayLoader15 : public IParserImpl15 29 { 30 private: 31 SourceArrayLoader* mLoader; 32 33 public: SourceArrayLoader15(SourceArrayLoader * loader)34SourceArrayLoader15(SourceArrayLoader* loader) 35 : mLoader(loader) 36 {} 37 38 39 virtual bool begin__float_array( const COLLADASaxFWL15::float_array__AttributeData& attributeData ); 40 41 virtual bool end__float_array(); 42 43 virtual bool data__float_array( const float* data, size_t length ); 44 45 virtual bool begin__source_type____technique_common(); 46 47 virtual bool end__source_type____technique_common(); 48 49 virtual bool begin__accessor( const COLLADASaxFWL15::accessor__AttributeData& attributeData ); 50 51 virtual bool end__accessor(); 52 53 virtual bool begin__param____param_type( const COLLADASaxFWL15::param____param_type__AttributeData& attributeData ); 54 55 virtual bool end__param____param_type(); 56 57 virtual bool data__param____param_type( const ParserChar* value, size_t length ); 58 59 virtual bool begin__technique____technique_type( const COLLADASaxFWL15::technique____technique_type__AttributeData& attributeData ); 60 61 virtual bool end__technique____technique_type(); 62 63 64 private: 65 /** Disable default copy ctor. */ 66 SourceArrayLoader15(const SourceArrayLoader15&); 67 /** Disable default assignment operator. */ 68 const SourceArrayLoader15& operator=(const SourceArrayLoader15&); 69 }; 70 } 71 #endif // __COLLADASAXFWL_SOURCEARRAYLOADER15_H__ 72