doxygen @ tags replaced to \
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*! @file piparsehelper.h
|
||||
* @brief Helper class to automate structs receive
|
||||
/*! \file piparsehelper.h
|
||||
* \brief Helper class to automate structs receive
|
||||
*/
|
||||
/*
|
||||
PIP - Platform Independent Primitives
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
|
||||
/** \class PIParseHelper
|
||||
* @brief Helper class to automate structs receive
|
||||
* \brief Helper class to automate structs receive
|
||||
*
|
||||
*
|
||||
* \section PIParseHelper_synopsis Synopsis
|
||||
@@ -85,11 +85,11 @@ template <typename Key>
|
||||
class PIParseHelper {
|
||||
public:
|
||||
|
||||
//! @brief Construct %PIParseHelper with target object \"p\"
|
||||
//! \brief Construct %PIParseHelper with target object \"p\"
|
||||
PIParseHelper(PIObject * p): parent(p) {}
|
||||
|
||||
|
||||
//! @brief Assign key \"key\" to event handler \"handler\" with 1 argument
|
||||
//! \brief Assign key \"key\" to event handler \"handler\" with 1 argument
|
||||
template <typename T, typename Ret>
|
||||
void assign(Key key, Ret(*handler)(void*,T)) {
|
||||
if (!parent) return;
|
||||
@@ -110,7 +110,7 @@ public:
|
||||
}
|
||||
|
||||
|
||||
//! @brief Assign key \"key\" to event handler \"handler\" without arguments
|
||||
//! \brief Assign key \"key\" to event handler \"handler\" without arguments
|
||||
template <typename Ret>
|
||||
void assign(Key key, Ret(*handler)(void*)) {
|
||||
if (!parent) return;
|
||||
@@ -130,7 +130,7 @@ public:
|
||||
}
|
||||
|
||||
|
||||
//! @brief Assign key \"key\" to lambda-function \"func\" with 1 argument
|
||||
//! \brief Assign key \"key\" to lambda-function \"func\" with 1 argument
|
||||
//! \note Important! Direct lambda functions are not allowed, see \ref PIParseHelper_lambda
|
||||
template <typename T>
|
||||
void assign(Key key, std::function<void(T)> func) {
|
||||
@@ -145,7 +145,7 @@ public:
|
||||
}
|
||||
|
||||
|
||||
//! @brief Assign key \"key\" to lambda-function \"func\" without arguments
|
||||
//! \brief Assign key \"key\" to lambda-function \"func\" without arguments
|
||||
//! \note Important! Direct lambda functions are not allowed, see \ref PIParseHelper_lambda
|
||||
void assign(Key key, std::function<void()> func) {
|
||||
if (!parent) return;
|
||||
@@ -156,7 +156,7 @@ public:
|
||||
}
|
||||
|
||||
|
||||
//! @brief Deserialize data and invoke assigned to \"key\" methods
|
||||
//! \brief Deserialize data and invoke assigned to \"key\" methods
|
||||
void parse(Key key, PIByteArray ba) {
|
||||
if (!parent) return;
|
||||
auto fl = functions.value(key);
|
||||
|
||||
Reference in New Issue
Block a user