Skip to content
Snippets Groups Projects
Commit b05c1b5c authored by Luc Hermitte's avatar Luc Hermitte
Browse files

STYLE: OTB-134/OGR

parent e7602892
No related branches found
No related tags found
No related merge requests found
......@@ -84,14 +84,14 @@ BOOST_STATIC_ASSERT((boost::is_contiguous<std::vector<int> >::value));
std::string otb::ogr::FieldDefn::GetName() const
{
assert(m_definition && "No field definition wrapped");
return m_definition->GetNameRef();
assert(m_Definition && "No field definition wrapped");
return m_Definition->GetNameRef();
}
OGRFieldType otb::ogr::FieldDefn::GetType() const
{
assert(m_definition && "No field definition wrapped");
return m_definition->GetType();
assert(m_Definition && "No field definition wrapped");
return m_Definition->GetType();
}
/*===========================================================================*/
......
......@@ -34,8 +34,8 @@ namespace otb { namespace ogr {
/**\ingroup gGeometry
* \class FieldDefn
* \brief Encapsulation of \c OGRFieldDefn: field definition.
* \invariant <tt>m_definition != 0</tt>
* \invariant \c m_definition lifetime is of the responsability of the owning \c
* \invariant <tt>m_Definition != 0</tt>
* \invariant \c m_Definition lifetime is of the responsability of the owning \c
* \c OGRFeatureDefn.
* \sa OGRFieldDefn
* \since OTB v 3.14.0
......@@ -43,7 +43,7 @@ namespace otb { namespace ogr {
class FieldDefn
{
public:
FieldDefn(OGRFieldDefn& definition) : m_definition(&definition){ }
FieldDefn(OGRFieldDefn& definition) : m_Definition(&definition){ }
std::string GetName() const; //!< Field name accessor.
OGRFieldType GetType() const; //!< Field type accessor.
......@@ -51,7 +51,7 @@ private:
/**Pointer to the actual definition.
* \internal pointer in order to support assignments
*/
OGRFieldDefn * m_definition;
OGRFieldDefn * m_Definition;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment