* mln/core/concept/gpoint.hh,
* mln/core/concept/object.hh,
* mln/core/concept/point_site.hh,
* mln/core/image/fi_adaptor.hh,
* mln/core/macros.hh,
* mln/core/routine/ops.hh,
* mln/io/fits/load.hh,
* mln/io/pbm/load.hh,
* mln/io/pbm/save.hh,
* mln/io/pfm/load.hh,
* mln/io/pfm/save.hh,
* mln/io/pgm/load.hh,
* mln/io/pgm/save.hh,
* mln/io/pnm/save.hh,
* mln/io/pnm/save_header.hh,
* mln/io/ppm/load.hh,
* mln/io/ppm/save.hh,
* mln/make/all.hh:
Do it.
---
milena/mln/core/concept/gpoint.hh | 2 +-
milena/mln/core/concept/object.hh | 8 ++++----
milena/mln/core/concept/point_site.hh | 2 +-
milena/mln/core/image/fi_adaptor.hh | 2 +-
milena/mln/core/macros.hh | 2 +-
milena/mln/core/routine/ops.hh | 10 +++++-----
milena/mln/io/fits/load.hh | 2 +-
milena/mln/io/pbm/load.hh | 2 +-
milena/mln/io/pbm/save.hh | 2 +-
milena/mln/io/pfm/load.hh | 2 +-
milena/mln/io/pfm/save.hh | 2 +-
milena/mln/io/pgm/load.hh | 4 ++--
milena/mln/io/pgm/save.hh | 2 +-
milena/mln/io/pnm/save.hh | 2 +-
milena/mln/io/pnm/save_header.hh | 2 +-
milena/mln/io/ppm/load.hh | 4 ++--
milena/mln/io/ppm/save.hh | 2 +-
milena/mln/make/all.hh | 2 +-
18 files changed, 27 insertions(+), 27 deletions(-)
diff --git a/milena/mln/core/concept/gpoint.hh b/milena/mln/core/concept/gpoint.hh
index ecce05b..205b64b 100644
--- a/milena/mln/core/concept/gpoint.hh
+++ b/milena/mln/core/concept/gpoint.hh
@@ -157,7 +157,7 @@ namespace mln
* \param[in] lhs A first grid point.
* \param[in] rhs A second grid point.
*
- * \warning There is no type promotion in milena so the client
+ * \warning There is no type promotion in Milena so the client
* has to make sure that both points are defined with the same
* type of coordinates.
*
diff --git a/milena/mln/core/concept/object.hh b/milena/mln/core/concept/object.hh
index b501959..135678b 100644
--- a/milena/mln/core/concept/object.hh
+++ b/milena/mln/core/concept/object.hh
@@ -30,7 +30,7 @@
/*! \file mln/core/concept/object.hh
*
- * \brief Definition of the top milena class mln::Object.
+ * \brief Definition of the top Milena class mln::Object.
*/
# include <cassert>
@@ -54,12 +54,12 @@
*
* \section intro_sec Introduction
*
- * This is the documentation of milena.
+ * This is the documentation of Milena.
*
* \section tools_subsec Tools required.
* FIXME.
*
- * \section mln_sec Overview of milena.
+ * \section mln_sec Overview of Milena.
*
* <UL>
* <LI> \ref mln
@@ -164,7 +164,7 @@ namespace mln
};
- /*! \brief Base class for almost every class defined in milena.
+ /*! \brief Base class for almost every class defined in Milena.
*
* The parameter \a E is the exact type.
*/
diff --git a/milena/mln/core/concept/point_site.hh b/milena/mln/core/concept/point_site.hh
index 44a5fd2..5615ef8 100644
--- a/milena/mln/core/concept/point_site.hh
+++ b/milena/mln/core/concept/point_site.hh
@@ -151,7 +151,7 @@ namespace mln
* \param[in] lhs A first point site.
* \param[in] rhs A second point site.
*
- * \warning There is no type promotion in milena so the client
+ * \warning There is no type promotion in Milena so the client
* has to make sure that both points are defined with the same
* type of coordinates.
*
diff --git a/milena/mln/core/image/fi_adaptor.hh b/milena/mln/core/image/fi_adaptor.hh
index 70c5a20..b58c7b4 100644
--- a/milena/mln/core/image/fi_adaptor.hh
+++ b/milena/mln/core/image/fi_adaptor.hh
@@ -123,7 +123,7 @@ namespace mln
/*! \brief fi_adaptor class.
*
- * The parameter \c I is the type of image through milena will see
+ * The parameter \c I is the type of image through Milena will see
* the Freeimage's class. This class aims to load images using
* Freeimage library.
*/
diff --git a/milena/mln/core/macros.hh b/milena/mln/core/macros.hh
index d075bdb..afbf50c 100644
--- a/milena/mln/core/macros.hh
+++ b/milena/mln/core/macros.hh
@@ -31,7 +31,7 @@
/*! \file mln/core/macros.hh
*
- * \brief Definition of the set of milena macros.
+ * \brief Definition of the set of Milena macros.
*/
diff --git a/milena/mln/core/routine/ops.hh b/milena/mln/core/routine/ops.hh
index f732a49..4a0c317 100644
--- a/milena/mln/core/routine/ops.hh
+++ b/milena/mln/core/routine/ops.hh
@@ -215,7 +215,7 @@ namespace mln
* It returns "not (lhs == rhs)".
*
* \warning There shall not be any other definition of this operator
- * in milena when applying on a couple of mln::Object.
+ * in Milena when applying on a couple of mln::Object.
*/
template <typename O1, typename O2>
mln_trait_op_neq(O1, O2)
@@ -229,7 +229,7 @@ namespace mln
* operator. It returns "rhs < lhs".
*
* \warning There shall not be any other definition of this operator
- * in milena when applying on a couple of mln::Object.
+ * in Milena when applying on a couple of mln::Object.
*/
template <typename O1, typename O2>
mln_trait_op_greater(O1, O2)
@@ -240,11 +240,11 @@ namespace mln
* operator.
*
* The "greater than or equal to" operator is here defined for
- * every milena objects. It relies on the definition of the "less
+ * every Milena objects. It relies on the definition of the "less
* than or equal to" operator. It returns "rhs <= lhs".
*
* \warning There shall not be any other definition of this operator
- * in milena when applying on a couple of mln::Object.
+ * in Milena when applying on a couple of mln::Object.
*/
template <typename O1, typename O2>
mln_trait_op_geq(O1, O2)
@@ -255,7 +255,7 @@ namespace mln
* operator.
*
* A default version of the "less than or equal to" operator is
- * defined for every milena objects. It relies on the definition of
+ * defined for every Milena objects. It relies on the definition of
* the "less than" operator. It returns "not (rhs < lhs)".
*
* \warning In the case of partial ordering between objects, this
diff --git a/milena/mln/io/fits/load.hh b/milena/mln/io/fits/load.hh
index 4d284ce..4d7e8e2 100644
--- a/milena/mln/io/fits/load.hh
+++ b/milena/mln/io/fits/load.hh
@@ -55,7 +55,7 @@ namespace mln
namespace fits
{
- /*! Load a fits image in a milena image.
+ /*! Load a fits image in a Milena image.
*
* \param[out] ima A reference to the image2d<float> which will receive
* data.
diff --git a/milena/mln/io/pbm/load.hh b/milena/mln/io/pbm/load.hh
index 7dd721a..3174b36 100644
--- a/milena/mln/io/pbm/load.hh
+++ b/milena/mln/io/pbm/load.hh
@@ -55,7 +55,7 @@ namespace mln
{
- /*! Load a pbm image in a milena image.
+ /*! Load a pbm image in a Milena image.
*
* \param[out] ima A reference to the image2d<bool> which will receive
* data.
diff --git a/milena/mln/io/pbm/save.hh b/milena/mln/io/pbm/save.hh
index cfdb688..eeb0580 100644
--- a/milena/mln/io/pbm/save.hh
+++ b/milena/mln/io/pbm/save.hh
@@ -63,7 +63,7 @@ namespace mln
namespace pbm
{
- /*! Save a milena image as a pbm image.
+ /*! Save a Milena image as a pbm image.
*
* \param[in] ima The image to save.
* \param[in,out] filename the destination.
diff --git a/milena/mln/io/pfm/load.hh b/milena/mln/io/pfm/load.hh
index da75564..9ddaed2 100644
--- a/milena/mln/io/pfm/load.hh
+++ b/milena/mln/io/pfm/load.hh
@@ -53,7 +53,7 @@ namespace mln
namespace pfm
{
- /*! Load a pfm image in a milena image.
+ /*! Load a pfm image in a Milena image.
*
* \param[out] ima A reference to the image2d<float> which will receive
* data.
diff --git a/milena/mln/io/pfm/save.hh b/milena/mln/io/pfm/save.hh
index f5d45bd..7223b38 100644
--- a/milena/mln/io/pfm/save.hh
+++ b/milena/mln/io/pfm/save.hh
@@ -55,7 +55,7 @@ namespace mln
namespace pfm
{
- /*! Save a milena image as a pfm image.
+ /*! Save a Milena image as a pfm image.
*
* \param[in] ima The image to save.
* \param[in,out] filename the destination.
diff --git a/milena/mln/io/pgm/load.hh b/milena/mln/io/pgm/load.hh
index 815f687..cbe7e05 100644
--- a/milena/mln/io/pgm/load.hh
+++ b/milena/mln/io/pgm/load.hh
@@ -57,7 +57,7 @@ namespace mln
namespace pgm
{
- /*! Load a pgm image in a milena image.
+ /*! Load a pgm image in a Milena image.
*
* \param[out] ima A reference to the image which will receive
* data.
@@ -68,7 +68,7 @@ namespace mln
const std::string& filename);
- /*! Load a pgm image in a milena image. To use this routine, you
+ /*! Load a pgm image in a Milena image. To use this routine, you
* should specialize the template whith the value type of the
* image loaded. (ex : load<value::int_u8>("...") )
*
diff --git a/milena/mln/io/pgm/save.hh b/milena/mln/io/pgm/save.hh
index b8ad598..d5d368b 100644
--- a/milena/mln/io/pgm/save.hh
+++ b/milena/mln/io/pgm/save.hh
@@ -63,7 +63,7 @@ namespace mln
namespace pgm
{
- /*! Save a milena image as a pgm image.
+ /*! Save a Milena image as a pgm image.
*
* \param[in] ima The image to save.
* \param[in,out] filename the destination.
diff --git a/milena/mln/io/pnm/save.hh b/milena/mln/io/pnm/save.hh
index f8ee360..eadd618 100644
--- a/milena/mln/io/pnm/save.hh
+++ b/milena/mln/io/pnm/save.hh
@@ -64,7 +64,7 @@ namespace mln
namespace pnm
{
- /*! Save a milena image as a pnm image.
+ /*! Save a Milena image as a pnm image.
*
* \param[in] type The type of the image to save (can be PPM,
* PGM, PBM).
diff --git a/milena/mln/io/pnm/save_header.hh b/milena/mln/io/pnm/save_header.hh
index 3a8c58e..a5bbde2 100644
--- a/milena/mln/io/pnm/save_header.hh
+++ b/milena/mln/io/pnm/save_header.hh
@@ -81,7 +81,7 @@ namespace mln
abort();
}
file << "P" << type << std::endl;
- file << "# Generated by milena 1.0 http://olena.lrde.epita.fr" << std::endl;
+ file << "# Generated by Milena 1.0 http://olena.lrde.epita.fr" << std::endl;
file << "# EPITA Research and Development Laboratory (LRDE)" << std::endl;
// We have a two-line comment because xv is buggy for some
// tiny binary images and their workaround is to have such a
diff --git a/milena/mln/io/ppm/load.hh b/milena/mln/io/ppm/load.hh
index 70def35..dc2ee4d 100644
--- a/milena/mln/io/ppm/load.hh
+++ b/milena/mln/io/ppm/load.hh
@@ -55,7 +55,7 @@ namespace mln
namespace ppm
{
- /*! Load a ppm image in a milena image.
+ /*! Load a ppm image in a Milena image.
*
* \param[out] ima A reference to the image which will receive
* data.
@@ -65,7 +65,7 @@ namespace mln
void load(Image<I>& ima,
const std::string& filename);
- /*! Load a ppm image in a milena image. To use this routine, you
+ /*! Load a ppm image in a Milena image. To use this routine, you
* should specialize the template whith the value type of the
* image loaded. (ex : load<value::int_u8>("...") )
*
diff --git a/milena/mln/io/ppm/save.hh b/milena/mln/io/ppm/save.hh
index 47a19f5..c10f3ca 100644
--- a/milena/mln/io/ppm/save.hh
+++ b/milena/mln/io/ppm/save.hh
@@ -52,7 +52,7 @@ namespace mln
namespace ppm
{
- /*! Save a milena image as a ppm image.
+ /*! Save a Milena image as a ppm image.
*
* \param[in] ima The image to save.
* \param[in,out] filename the destination.
diff --git a/milena/mln/make/all.hh b/milena/mln/make/all.hh
index f7e6e40..1dbe10b 100644
--- a/milena/mln/make/all.hh
+++ b/milena/mln/make/all.hh
@@ -37,7 +37,7 @@
namespace mln
{
- /// Namespace of routines that help to make milena's objects.
+ /// Namespace of routines that help to make Milena's objects.
namespace make {}
}
--
1.6.0.1
---
milena/ChangeLog | 4 ++++
milena/mln/io/off/load.hh | 14 +++++++-------
2 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index 00d6b64..7af357d 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -24,6 +24,10 @@
2008-10-22 Roland Levillain <roland(a)lrde.epita.fr>
+ * mln/io/off/load.hh: Polish this file.
+
+2008-10-22 Roland Levillain <roland(a)lrde.epita.fr>
+
Exercise mln::io::off:save.
* tests/io/off/load_save_bin.cc: New test.
diff --git a/milena/mln/io/off/load.hh b/milena/mln/io/off/load.hh
index 1a00f3d..6cdf3d5 100644
--- a/milena/mln/io/off/load.hh
+++ b/milena/mln/io/off/load.hh
@@ -52,13 +52,13 @@ namespace mln
namespace off
{
- /** \brief Load a (boolean) OFF image into a complex image.
+ /** \brief Load a (binary) OFF image into a complex image.
\param[out] ima A reference to the image to construct.
\param[in] filename The name of the file to load.
- The image is said boolean since data only represent the
- existence of vertices and faces. */
+ The image is said binary since data only represent the
+ existence of faces. */
void load(bin_2complex_image3df& ima, const std::string& filename);
namespace internal
@@ -73,14 +73,14 @@ namespace mln
void load(bin_2complex_image3df& ima, const std::string& filename)
{
- const std::string me = "mln::io::load::off";
+ const std::string me = "mln::io::off::load";
std::ifstream istr(filename.c_str());
if (!istr)
{
std::cerr << me << ": `" << filename << "' not found." << std::endl;
/* FIXME: Too violent. We should allow the use of
- exception, at least to have Milena's code behave
+ exceptions, at least to have Milena's code behave
correctly in interpreted environments (std::exit() or
std::abort() causes the termination of a Python
interpreter, for instance!). */
@@ -92,9 +92,9 @@ namespace mln
`---------*/
/* ``The .off files in the Princeton Shape Benchmark conform
- to the following standard. */
+ to the following standard''. */
- /* OFF files are all ASCII files beginning with the keyword
+ /* ``OFF files are all ASCII files beginning with the keyword
OFF. '' */
std::string type;
istr >> internal::eat_comment >> type;
--
1.6.0.1