Skip to content

Commit

Permalink
add minor modifications to SpecNode for const methods
Browse files Browse the repository at this point in the history
issue #28
  • Loading branch information
Valentin Noel committed Sep 12, 2013
1 parent 92122dd commit 2470e39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions libraries/specReader/src/SpecNode/SpecNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ std::string SpecNode::getCount() const
return getProperty( kCount, "" );
}

std::string SpecNode::getRequired()
std::string SpecNode::getRequired() const
{
return getProperty( kRequired, "" );
}

std::string SpecNode::getGroupSize()
std::string SpecNode::getGroupSize() const
{
return getProperty( kGroupSize, "" );
}
Expand Down
4 changes: 2 additions & 2 deletions libraries/specReader/src/SpecNode/SpecNode.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class SpecNode
std::string getDisplayType() const;

std::string getCount() const;
std::string getRequired();
std::string getRequired() const;

std::vector< std::string > getValues() const;

Expand All @@ -37,7 +37,7 @@ class SpecNode
bool isOrdered() const;

bool hasGroup() const;
std::string getGroupSize();
std::string getGroupSize() const;

SpecNode next() const;
SpecNode firstChild() const;
Expand Down

0 comments on commit 2470e39

Please sign in to comment.