OpenStudio:utilities
Loading...
Searching...
No Matches
openstudio::ObjectPointer< T, U > Struct Template Reference

#include <ObjectPointer.hpp>

Public Types

using source_type = T
 
using target_type = U
 

Public Member Functions

 ObjectPointer ()=default
 
 ObjectPointer (const T &s, unsigned fi, const U &t)
 

Public Attributes

unsigned fieldIndex
 
source
 
target
 

Detailed Description

template<class T, class U>
struct openstudio::ObjectPointer< T, U >

Data structure for specifying connections between IdfWorkspace and other object collections.

Other object collections include other IdfWorkspaces, IdfFile, IdfObjectVector.

Member Typedef Documentation

◆ source_type

template<class T , class U >
using openstudio::ObjectPointer< T, U >::source_type = T

◆ target_type

template<class T , class U >
using openstudio::ObjectPointer< T, U >::target_type = U

Constructor & Destructor Documentation

◆ ObjectPointer() [1/2]

template<class T , class U >
openstudio::ObjectPointer< T, U >::ObjectPointer ( )
default

◆ ObjectPointer() [2/2]

template<class T , class U >
openstudio::ObjectPointer< T, U >::ObjectPointer ( const T & s,
unsigned fi,
const U & t )
inline

Member Data Documentation

◆ fieldIndex

template<class T , class U >
unsigned openstudio::ObjectPointer< T, U >::fieldIndex

◆ source

template<class T , class U >
T openstudio::ObjectPointer< T, U >::source

◆ target

template<class T , class U >
U openstudio::ObjectPointer< T, U >::target