text: /*-----------------------------------------------------------------------
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"; you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at
  
  http://www.apache.org/licenses/LICENSE-2.0
  
  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, either express or implied.  See the License for the
  specific language governing permissions and limitations
  under the License.
  -----------------------------------------------------------------------*/
  #pragma once
  
  #include "../resqml2/ContinuousColorMap.h"
  
  namespace RESQML2_2_NS
  {
  	/** @brief	Map of continuous colors. This class cannot be inherited. */
  	class ContinuousColorMap final : public RESQML2_NS::ContinuousColorMap
  	{
  	public:
  		/**
  		 * @brief	Constructor
  		 *
  		 * @exception	std::invalid_argument	If <tt>repo == nullptr</tt>.
  		 *
  		 * @param [in]	repo			   	If non-nullptr, the repo.
  		 * @param 	  	guid			   	The guid to set to graphical information set.
  		 * @param 	  	title			   	A title for graphical information set.
  		 * @param 	  	interpolationDomain	The interpolation domain.
  		 * @param 	  	interpolationMethod	The interpolation method.
  		 */
  		ContinuousColorMap(COMMON_NS::DataObjectRepository *repo, std::string const& guid, std::string const& title,
  			gsoap_eml2_3::resqml22__InterpolationDomain interpolationDomain, gsoap_eml2_3::resqml22__InterpolationMethod interpolationMethod);
  
  		/**
  		 * Only to be used in partial transfer context
  		 */
  		ContinuousColorMap(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : RESQML2_NS::ContinuousColorMap(partialObject) {}
  
  		/**
  		* Creates an instance of this class by wrapping a gsoap instance.
  		*/
  		ContinuousColorMap(gsoap_eml2_3::resqml22__ContinuousColorMap* fromGsoap) :
  			RESQML2_NS::ContinuousColorMap(fromGsoap) {}
  
  		/**
  		* Destructor does nothing since the memory is managed by the gsoap context.
  		*/
  		~ContinuousColorMap() {}
  
  		/**
  		* The standard XML namespace for serializing this data object.
  		*/
  		DLL_IMPORT_OR_EXPORT static const char* XML_NS;
  
  		/**
  		* Get the standard XML namespace for serializing this data object.
  		*/
  		DLL_IMPORT_OR_EXPORT std::string getXmlNamespace() const final { return XML_NS; }
  	};
  }
  