ATBase64BinaryOrDerived.hpp

Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2001-2006
00003  *     DecisionSoft Limited. All rights reserved.
00004  * Copyright (c) 2004-2006
00005  *     Progress Software Corporation. All rights reserved.
00006  * Copyright (c) 2004-2006
00007  *     Oracle. All rights reserved.
00008  *
00009  * See the file LICENSE for redistribution information.
00010  *
00011  * $Id: ATBase64BinaryOrDerived.hpp,v 1.8 2006/11/01 16:37:14 jpcs Exp $
00012  */
00013 
00014 #ifndef _ATBASE64BINARYORDERIVED_HPP
00015 #define _ATBASE64BINARYORDERIVED_HPP
00016 
00017 #include <xercesc/util/XercesDefs.hpp>
00018 #include <xqilla/items/AnyAtomicType.hpp>
00019 
00020 #include <xqilla/framework/XQillaExport.hpp>
00021 
00022 class DynamicContext;
00023 
00024 class XQILLA_API ATBase64BinaryOrDerived : public AnyAtomicType
00025 {
00026 public:
00027   /* Get the name of the primitive type (basic type) of this type (ie "decimal" for xs:decimal) */
00028   virtual const XMLCh* getPrimitiveTypeName() const = 0;
00029 
00030   /* Get the namespace URI for this type */
00031   virtual const XMLCh* getTypeURI() const = 0;
00032 
00033   /* Get the name of this type  (ie "integer" for xs:integer) */
00034   virtual const XMLCh* getTypeName() const = 0;
00035 
00036   /* returns the XMLCh* (canonical) representation of this type */
00037   virtual const XMLCh* asString(const DynamicContext* context) const = 0;
00038 
00039   /* returns true if the two objects' base 64 binary representation
00040    *  are equal (string comparison) false otherwise */
00041   virtual bool equals(const AnyAtomicType::Ptr &target, const DynamicContext* context) const = 0;
00042 
00045   virtual int compare(const ATBase64BinaryOrDerived::Ptr &other, const DynamicContext *context) const = 0;
00046  
00047 protected: 
00048   virtual AnyAtomicType::AtomicObjectType getPrimitiveTypeIndex() const = 0;
00049 };
00050 
00051 #endif //  _ATBASE64BINARYORDERIVED_HPP

Generated on Fri Jan 19 15:30:52 2007 for XQilla Simple API by  doxygen 1.4.6