Main Page Namespace List Class Hierarchy Compound List File List Namespace Members Compound Members Related Pages

# aka2::memberdef< L, T >::_ptrmember Struct Reference

Utility class to define a pointer-type member. More...

`#include <memberdef.h>`

List of all members.

## Public Methods
template<class P, class V> | _ptrmember (const std::string &tagname, V P::*m)
template<class P, class V, class VL> | _ptrmember (const std::string &tagname, V P::*m, const VL &vl)

## Detailed Description

### template<class L, class T>
struct aka2::memberdef< L, T >::_ptrmember

Utility class to define a pointer-type member.

Member must be aka2::deep_ptr<> template class. Occurrence is [0, 1].

See also:
  arrays_pointers

Definition at line 143 of file memberdef.h.

## Constructor & Destructor Documentation

template<class L, class T>
template<class P, class V>
aka2::memberdef< L, T >::_ptrmember::_ptrmember | ( | const std::string & | tagname,
|  | V P::* | m
| ) | `[inline]`

  | Constructor to define a pointer-type member. Parameters:
  tagname | tag name
  m | pointer to member of a value class
Definition at line 150 of file memberdef.h.

template<class L, class T>
template<class P, class V, class VL>
aka2::memberdef< L, T >::_ptrmember::_ptrmember | ( | const std::string & | tagname,
|  | V P::* | m,
|  | const VL & | vl
| ) | `[inline]`

  | Constructor to define a pointer-type member. Parameters:
  tagname | tag name
  m | pointer to member of a value class
  vl | leaf class for V
Definition at line 161 of file memberdef.h.

The documentation for this struct was generated from the following file:

- memberdef.h