/usr/include/opencollada/GeneratedSaxParser/GeneratedSaxParserINamespaceHandler.h is in opencollada-dev 0.1.0~20140703.ddf8f47+dfsg1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | /*
Copyright (c) 2008-2009 NetAllied Systems GmbH
This file is part of GeneratedSaxParser.
Licensed under the MIT Open Source License,
for details please see LICENSE file or the website
http://www.opensource.org/licenses/mit-license.php
*/
#ifndef __GENERATEDSAXPARSER_INAMESPACEHANDLER_H__
#define __GENERATEDSAXPARSER_INAMESPACEHANDLER_H__
#include "GeneratedSaxParserPrerequisites.h"
#include "GeneratedSaxParserTypes.h"
namespace GeneratedSaxParser
{
/**
* This interface allows implementors to handle XML elements
* present in different XML namespaces.
* May be used in a part of a document where any element is allowed.
* ElementNames are passed with namespace prefix.
* ElementNameHashes are passed without namespace prefix.
*/
class INamespaceHandler
{
public:
INamespaceHandler(){}
virtual ~INamespaceHandler(){}
virtual bool elementBegin( const StringHash& elementNameHash, const ParserChar* elementName, const xmlChar** attributes ) = 0;
virtual bool elementEnd( const StringHash& elementNameHash, const ParserChar* elementName ) = 0;
virtual bool textData( const ParserChar* text, size_t textLength ) = 0;
private:
/** Disable default copy ctor. */
INamespaceHandler( const INamespaceHandler& pre );
/** Disable default assignment operator. */
const INamespaceHandler& operator= ( const INamespaceHandler& pre );
};
} // namespace COLLADASAXPARSER
#endif // __GENERATEDSAXPARSER_INAMESPACEHANDLER_H__
|