esp8266ndn
NDN Arduino library for ESP8266 and more
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
ndnph::RefRegion< Obj > Class Template Reference

Base class of an object referencing an InRegion object. More...

#include <region.hpp>

Public Types

using ObjType = Obj
 

Public Member Functions

 RefRegion (ObjType *obj=nullptr)
 
 operator bool () const
 

Protected Member Functions

 ~RefRegion ()=default
 

Protected Attributes

ObjTypeobj = nullptr
 

Friends

RegionregionOf (const RefRegion< Obj > &ref)
 

Detailed Description

template<typename Obj>
class ndnph::RefRegion< Obj >

Base class of an object referencing an InRegion object.

Member Typedef Documentation

◆ ObjType

template<typename Obj >
using ndnph::RefRegion< Obj >::ObjType = Obj

Constructor & Destructor Documentation

◆ RefRegion()

template<typename Obj >
ndnph::RefRegion< Obj >::RefRegion ( ObjType obj = nullptr)
inlineexplicit

◆ ~RefRegion()

template<typename Obj >
ndnph::RefRegion< Obj >::~RefRegion ( )
protecteddefault

Member Function Documentation

◆ operator bool()

template<typename Obj >
ndnph::RefRegion< Obj >::operator bool ( ) const
inlineexplicit

Friends And Related Function Documentation

◆ regionOf

template<typename Obj >
Region& regionOf ( const RefRegion< Obj > &  ref)
friend

Member Data Documentation

◆ obj

template<typename Obj >
ObjType* ndnph::RefRegion< Obj >::obj = nullptr
protected

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