- bool HasVertexIndex( const I& index ) const;
- void SetVertex( const I& index, V& vertex );
- bool RenameVertex( const I& old_index, const I& new_index );
- void RemoveVertex( const I& index );
- V& GetVertex( const I& index );
- const V& GetVertex( const I& index ) const;
+ inline bool HasVertexIndex( const TIndex& i ) const
+ { return( this->m_Vertices.find( i ) != this->m_Vertices.end( ) ); }
+ inline void SetVertex( const TIndex& index, TVertex& vertex )
+ { this->m_Vertices[ index ] = vertex; }
+ inline TVertex& GetVertex( const TIndex& index )
+ { return( this->m_Vertices[ index ] ); }
+ inline const TVertex& GetVertex( const TIndex& index ) const
+ { return( this->m_Vertices[ index ] ); }
+ bool RenameVertex( const TIndex& old_index, const TIndex& new_index );
+ void RemoveVertex( const TIndex& index );