Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Commit 637834b

Browse files
committed
WIP ElementHandle: move setAs to public api
Signed-off-by: Kevin Rocard <[email protected]>
1 parent d0a7eee commit 637834b

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

parameter/include/ElementHandle.h

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -232,15 +232,6 @@ class PARAMETER_EXPORT ElementHandle
232232

233233
/** @} */
234234

235-
protected:
236-
/** Friend to be constructed from CParameterMgr::createElementHandle. */
237-
friend CParameterMgr;
238-
239-
/** Protected for test purposes.
240-
* Client must not inherit from this class anyway.
241-
* @{ */
242-
ElementHandle(CConfigurableElement &element, CParameterMgr &parameterMgr);
243-
244235
/** Access a parameter with a template type
245236
*
246237
* Template version of getAsBoolean, getAsInteger, getAsDoubleArray...
@@ -259,7 +250,14 @@ class PARAMETER_EXPORT ElementHandle
259250
bool getAs(T &value, std::string &error) const;
260251
/** @} */
261252

262-
/** @} */
253+
protected:
254+
/** Friend to be constructed from CParameterMgr::createElementHandle. */
255+
friend CParameterMgr;
256+
257+
/** Protected for test purposes.
258+
* Client must not inherit from this class anyway.
259+
*/
260+
ElementHandle(CConfigurableElement &element, CParameterMgr &parameterMgr);
263261

264262
private:
265263
template <class T>

0 commit comments

Comments
 (0)