summaryrefslogtreecommitdiff
path: root/src/common/include
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2016-03-17 13:44:28 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2016-03-17 13:44:28 +0000
commit26e05a189a31846cd1aa97e055ff3595d9dddca1 (patch)
tree61111a72ee5037a2eebd2e990671f04d9ef6b482 /src/common/include
parentfa4810bea8d480f09d4cba5beba51805522cfdfe (diff)
Use post and exception doxygen tag instead of warnings everywhere.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/alphashapes@1053 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 5e263835e662d66ef068c73d3efe71f72f90de10
Diffstat (limited to 'src/common/include')
-rw-r--r--src/common/include/gudhi/Delaunay_triangulation_off_io.h19
1 files changed, 7 insertions, 12 deletions
diff --git a/src/common/include/gudhi/Delaunay_triangulation_off_io.h b/src/common/include/gudhi/Delaunay_triangulation_off_io.h
index e623cf7b..7bf5569e 100644
--- a/src/common/include/gudhi/Delaunay_triangulation_off_io.h
+++ b/src/common/include/gudhi/Delaunay_triangulation_off_io.h
@@ -98,7 +98,6 @@ class Delaunay_triangulation_off_visitor_reader {
std::cout << std::endl;
#endif // DEBUG_TRACES
// Fill the point cloud
- // VR: complex_->insert(Point(point.size(), point.begin(), point.end()));
point_cloud.push_back(Point(point.size(), point.begin(), point.end()));
}
@@ -116,9 +115,7 @@ class Delaunay_triangulation_off_visitor_reader {
/** \brief Returns the constructed Delaunay triangulation.
*
- * @return A pointer on the Delaunay triangulation.
- *
- * @warning The returned pointer can be nullptr.
+ * @return A pointer on the Delaunay triangulation. Default value is <CODE>nullptr</CODE>.
*/
Complex* get_complex() const {
return complex_;
@@ -157,8 +154,8 @@ class Delaunay_triangulation_off_reader {
* that are in the OFF file.
*
* @param[in] name_file OFF file to read.
- *
- * @warning Check with is_valid() function to see if read operation was successful.
+ *
+ * \post Check with is_valid() function to see if read operation was successful.
*/
Delaunay_triangulation_off_reader(const std::string & name_file)
: valid_(false) {
@@ -191,9 +188,7 @@ class Delaunay_triangulation_off_reader {
/** \brief Returns the constructed Delaunay triangulation.
*
- * @return A pointer on the Delaunay triangulation.
- *
- * @warning The returned pointer can be nullptr.
+ * @return A pointer on the Delaunay triangulation. Default value is <CODE>nullptr</CODE>.
*/
Complex* get_complex() const {
if (valid_)
@@ -242,12 +237,12 @@ class Delaunay_triangulation_off_writer {
public:
typedef typename Complex::Point Point;
- /** \brief Writes the OFF file from the Delaunay triangulation
+ /** \brief Writes the OFF file from the Delaunay triangulation.
*
* @param[in] name_file OFF file to write.
* @param[in] complex_ptr pointer on a Delaunay triangulation.
- *
- * @warning Check with is_valid() function to see if write operation was successful.
+ *
+ * \post Check with is_valid() function to see if write operation was successful.
*/
Delaunay_triangulation_off_writer(const std::string & name_file, Complex* complex_ptr)
: valid_(false) {