Commit 78bd1000 authored by Michal Habera's avatar Michal Habera

Syntax errors and NoAttributeItemType

parent 9b90fb6b
......@@ -43,7 +43,7 @@ XdmfAttributeItemType::FiniteElementFunction()
//-----------------------------------------------------------------------------
void XdmfAttributeItemType::InitTypes()
{
mAttributeDefinitions["NONE"] = NoAttributeType;
mAttributeDefinitions["NONE"] = NoAttributeItemType;
mAttributeDefinitions["FINITE_ELEMENT_FUNCTION"] = FiniteElementFunction;
}
//-----------------------------------------------------------------------------
......@@ -57,7 +57,7 @@ XdmfAttributeItemType::~XdmfAttributeItemType()
}
//-----------------------------------------------------------------------------
shared_ptr<const XdmfAttributeItemType> XdmfAttributeItemType::New(
const std::map<std::string, std::string &itemProperties)
const std::map<std::string, std::string> &itemProperties)
{
InitTypes();
......
......@@ -42,7 +42,7 @@
* FiniteElementFunction
*/
class XDMF_EXPORT XdmfAttributeItemType : public XdmfItemProperty
class XDMF_EXPORT XdmfAttributeItemType : public XdmfItemProperty
{
public:
......@@ -52,6 +52,7 @@ public:
friend class XdmfAttribute;
// Supported Xdmf Attribute Types
static shared_ptr<const XdmfAttributeType> NoAttributeItemType();
static shared_ptr<const XdmfAttributeItemType> FiniteElementFunction();
void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment