Skip to content

Commit

Permalink
add _isCaseSensitive attribute in Element
Browse files Browse the repository at this point in the history
issue #27
  • Loading branch information
Valentin Noel committed Dec 10, 2013
1 parent 9b5f2c9 commit 86440c9
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 26 deletions.
53 changes: 27 additions & 26 deletions libraries/BasicElement/src/BasicElement/Element.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,32 +10,33 @@ namespace basic_element
Element::Element( const ShPtrSpecNode node,
const ShPtrElement previous,
const ShPtrElement parent )
: _parent ( parent )
, _previous ( previous )
, _specNode ( node )
, _id ( node->getId() )
, _label ( node->getLabel() )
, _uId ( node->getUId() )
, _specGroupSize ( 0 )
, _childrenSize ( 0 )
, _countExpr ( node->getCount() )
, _requiredExpr ( node->getRequirement() )
, _groupSizeExpr ( node->getGroupSize() )
, _values ( node->getValues() )
, _map ( node->getMap() )
, _mapValue ( "" )
, _dispValue ( "" )
, _rangeExpr ( node->getRange() )
, _repetExpr ( node->getRepetitions() )
, _type ( node->getType() )
, _displayType ( node->getDisplayType() )
, _iteration ( getElementIteration( _id, _repetExpr, previous, parent ) )
, _status ( eStatusNotChecked )
, _isGroup ( node->isGroup() )
, _isOrdered ( node->isOrdered() )
, _isOptional ( node->isOptional() )
, _isBigEndian ( node->isBigEndian() )
, _checkedGroup ( false )
: _parent ( parent )
, _previous ( previous )
, _specNode ( node )
, _id ( node->getId() )
, _label ( node->getLabel() )
, _uId ( node->getUId() )
, _specGroupSize ( 0 )
, _childrenSize ( 0 )
, _countExpr ( node->getCount() )
, _requiredExpr ( node->getRequirement() )
, _groupSizeExpr ( node->getGroupSize() )
, _values ( node->getValues() )
, _map ( node->getMap() )
, _mapValue ( "" )
, _dispValue ( "" )
, _rangeExpr ( node->getRange() )
, _repetExpr ( node->getRepetitions() )
, _type ( node->getType() )
, _displayType ( node->getDisplayType() )
, _iteration ( getElementIteration( _id, _repetExpr, previous, parent ) )
, _status ( eStatusNotChecked )
, _isGroup ( node->isGroup() )
, _isOrdered ( node->isOrdered() )
, _isOptional ( node->isOptional() )
, _isBigEndian ( node->isBigEndian() )
, _isCaseSensitive ( node->isCaseSensitive() )
, _checkedGroup ( false )
{
if( ! _parent.expired() )
_parent.lock()->_children.push_back( std::make_shared< Element >( *this ) );
Expand Down
1 change: 1 addition & 0 deletions libraries/BasicElement/src/BasicElement/Element.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ class Element
const bool _isOrdered;
const bool _isOptional;
const bool _isBigEndian;
const bool _isCaseSensitive;
bool _checkedGroup;


Expand Down

0 comments on commit 86440c9

Please sign in to comment.