[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master b6fe39a 1/4: Relocate documentation
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master b6fe39a 1/4: Relocate documentation |
Date: |
Thu, 1 Mar 2018 13:33:04 -0500 (EST) |
branch: master
commit b6fe39ac97ad11c0c5e077497d925aafe74e4f1c
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Relocate documentation
Make the class declaration terser by moving inline documentation of
private data members to accessor definitions.
---
multiple_cell_document.hpp | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/multiple_cell_document.hpp b/multiple_cell_document.hpp
index 116f204..37944f1 100644
--- a/multiple_cell_document.hpp
+++ b/multiple_cell_document.hpp
@@ -114,28 +114,29 @@ class LMI_SO multiple_cell_document final
xslt::stylesheet& cell_sorter() const;
std::string xsd_schema_name(int version) const;
- // Default parameters for the whole case, stored as a vector for
- // parallelism with class_parms_ and cell_parms_. Naturally, this
- // vector must have exactly one element.
std::vector<Input> case_parms_;
-
- // Default parameters for each employee class.
std::vector<Input> class_parms_;
-
- // Parameters for each cell.
std::vector<Input> cell_parms_;
};
+/// Default parameters for the whole case, stored as a vector for
+/// parallelism with class_parms_ and cell_parms_. Naturally, this
+/// vector must have exactly one element.
+
inline std::vector<Input> const& multiple_cell_document::case_parms() const
{
return case_parms_;
}
+/// Default parameters for each employee class.
+
inline std::vector<Input> const& multiple_cell_document::class_parms() const
{
return class_parms_;
}
+/// Parameters for each cell.
+
inline std::vector<Input> const& multiple_cell_document::cell_parms() const
{
return cell_parms_;