Skip to content

Commit

Permalink
Merge pull request #35 from dic-iit/fix/documentation
Browse files Browse the repository at this point in the history
Fix of documentations.
  • Loading branch information
S-Dafarra committed Feb 2, 2021
2 parents 2ffa1ab + 3e8c1fd commit 60865f7
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion include/matioCpp/CellArray.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class matioCpp::CellArray : public matioCpp::Variable

/**
* @brief Get the indices given the raw index
* @paragraph rawIndex The input raw index from which to compute the indices
* @param rawIndex The input raw index from which to compute the indices
* @param el The output indices
* @return True if successful, false otherwise (for example if rawIndex is out of bounds)
Expand Down
2 changes: 1 addition & 1 deletion include/matioCpp/ConversionUtilities.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ bool get_types_from_matvart(const matvar_t* input, VariableType& outputVariableT
* @brief Get the type names from the input pointer
* @param input The input pointer
* @param classType The class type
* @param valueType The value type
* @param dataType The data type
*/
bool get_types_names_from_matvart(const matvar_t* input, std::string &classType, std::string &dataType);

Expand Down
2 changes: 1 addition & 1 deletion include/matioCpp/Element.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class matioCpp::Element : public matioCpp::Variable

/**
* @brief Assignement operator (copy) from an element of type T.
* @param other The other Element.
* @param value The element to copy.
* @return A reference to this Element.
*/
Element<T>& operator=(element_type value);
Expand Down
2 changes: 2 additions & 0 deletions include/matioCpp/File.h
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ class matioCpp::File
/**
* @brief Write a Variable to a file
* @param variable The input variable.
* @param compression The compression type to be used for writing the variable.
* @note The it performs a shallow copy of the variable.
* @return True if successful.
*/
Expand All @@ -174,6 +175,7 @@ class matioCpp::File
* @brief Write a Variable to a file in a batch
* @param begin Iterator to the first element to be written
* @param end Iterator to the first element that is not written
* @param compression The compression type to be used for writing the variable.
* @return True if successful.
*/
template <class iterator>
Expand Down
2 changes: 1 addition & 1 deletion include/matioCpp/MatvarHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class matioCpp::MatvarHandler

/**
* @brief Constructor
* @param ponterToDeallocate A weak pointer toward the PointerInfo that contains the pointer to be freed.
* @param pointerToDeallocate A weak pointer toward the PointerInfo that contains the pointer to be freed.
*/
Ownership(std::weak_ptr<PointerInfo> pointerToDeallocate);

Expand Down
2 changes: 1 addition & 1 deletion include/matioCpp/MultiDimensionalArray.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class matioCpp::MultiDimensionalArray : public matioCpp::Variable

/**
* @brief Get the indices given the raw index
* @paragraph rawIndex The input raw index from which to compute the indices
* @param rawIndex The input raw index from which to compute the indices
* @param el The output indices
* @return True if successful, false otherwise (for example if rawIndex is out of bounds)
Expand Down
2 changes: 1 addition & 1 deletion include/matioCpp/StructArray.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ class matioCpp::StructArray : public matioCpp::Variable

/**
* @brief Get the indices given the raw index
* @paragraph rawIndex The input raw index from which to compute the indices
* @param rawIndex The input raw index from which to compute the indices
* @param el The output indices
* @return True if successful, false otherwise (for example if rawIndex is out of bounds)
Expand Down
4 changes: 2 additions & 2 deletions include/matioCpp/Variable.h
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ class matioCpp::Variable
/**
* @brief Get an element of the variable, considered as a StructArray
* @note This allocates memory, one pointer per sruct field, but the pointers point to data in the array
* @param index The linear index of the struct to retrieve
* @param linearIndex The linear index of the struct to retrieve
* @return A Struct with a weak ownership to the underlying mat variable. This means that the data can be changed,
* but the variable cannot be resized and the name cannot change.
*/
Expand All @@ -187,7 +187,7 @@ class matioCpp::Variable
/**
* @brief Get an element of the variable, considered as a StructArray
* @note This allocates memory, one pointer per sruct field, but the pointers point to data in the array
* @param index The linear index of the struct to retrieve
* @param linearIndex The linear index of the struct to retrieve
* @return A const Struct with a weak ownership to the underlying mat variable.
*/
const Struct getStructArrayElement(size_t linearIndex) const;
Expand Down
2 changes: 1 addition & 1 deletion include/matioCpp/Vector.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class matioCpp::Vector : public matioCpp::Variable
/**
* @brief Constructor
* @param name The name of the Vector
* @param inputVector The input data.
* @param dimensions The size of the Vector.
*/
Vector(const std::string& name, index_type dimensions);

Expand Down

0 comments on commit 60865f7

Please sign in to comment.