Home
last modified time | relevance | path

Searched refs:NestedGuard (Results 1 – 1 of 1) sorted by relevance

/hardware/interfaces/automotive/can/1.0/default/libnl++/include/libnl++/
DMessageFactory.h118 class [[nodiscard]] NestedGuard {
120 NestedGuard(MessageFactory & req, nlattrtype_t type) : mReq(req), mAttr(req.add(type)) {} in NestedGuard() function
121 ~NestedGuard() { closeNested(&mReq.mMessage.header, mAttr); } in ~NestedGuard()
127 DISALLOW_COPY_AND_ASSIGN(NestedGuard);
151 NestedGuard addNested(nlattrtype_t type) { return {*this, type}; } in addNested()