template<class T>
class drain::ReferenceT< T >
Intermediate class supporting link() in various forms. 
See also comparison of all the three variable classes: 
- See also
- drain::VariableT
Constructors
  
    
    
    Reference
  
  
    
      
        |  |  | Reference | 
      
        | Default constructor | 
      
        |  | V variable; | null | 
      
        | Copy constructor | 
      
        | bool b=true; V var(b); | V variable(var); | true ® | 
      
        | char c='Y'; V var(c); | V variable(var); | Y ® | 
      
        | int i=123; V var(i); | V variable(var); | 123 ® | 
      
        | double d=45.678; V var(d); | V variable(var); | 45.678 ® | 
      
        | std::string str("Test"); V var(str); | V variable(var); | "Test" ® | 
      
        | UniTuple2i uni2i(INIT_2i); V var(uni2i); | V variable(var); | 67,89 ® | 
      
        | UniTuple3d uni3d(INIT_3d); V var(uni3d); | V variable(var); | 65.6,77.8,89 ® | 
      
        | Copy constructor variants | 
      
        | int i=123; Variable var(i); | V variable(var); | null | 
      
        | int i=123; FlexibleVariable var(i); | V variable(var); | null | 
      
        | int i=123; FlexibleVariable var; var.link(i); | V variable(var); | 123 ® | 
      
        | int i=123; Reference var(i); | V variable(var); | 123 ® | 
      
        | std::string str("Test"); Variable var(str); | V variable(var); | null | 
      
        | std::string str("Test"); FlexibleVariable var(str); | V variable(var); | null | 
      
        | std::string str("Test"); FlexibleVariable var; var.link(str); | V variable(var); | "Test" ® | 
      
        | std::string str("Test"); Reference var(str); | V variable(var); | "Test" ® | 
      
        | UniTuple3d uni3d(INIT_3d); Variable var(uni3d); | V variable(var); | null | 
      
        | UniTuple3d uni3d(INIT_3d); FlexibleVariable var(uni3d); | V variable(var); | null | 
      
        | UniTuple3d uni3d(INIT_3d); FlexibleVariable var; var.link(uni3d); | V variable(var); | 65.6,77.8,89 ® | 
      
        | UniTuple3d uni3d(INIT_3d); Reference var(uni3d); | V variable(var); | 65.6,77.8,89 ® | 
      
        | Non-const variable arg | 
      
        | bool b=true; | V variable(b); | true ® | 
      
        | char c='Y'; | V variable(c); | Y ® | 
      
        | int i=123; | V variable(i); | 123 ® | 
      
        | double d=45.678; | V variable(d); | 45.678 ® | 
      
        | std::string str("Test"); | V variable(str); | "Test" ® | 
      
        | UniTuple2i uni2i(INIT_2i) | V variable(uni2i); | 67,89 ® | 
      
        | UniTuple3d uni3d(INIT_3d) | V variable(uni3d); | 65.6,77.8,89 ® | 
    
    Created by: src/Variables-example.cpp: testConstructors
  
Assignment
  
    
    
    Reference - assignments
  
  
    
      
        | input | Reference | 
      
        | type | value | bool | unsigned char | char | short | int | unsigned long | float | double | std::string | 
      
        | bool | false | false ® | ® | ® | 0 ® | 0 ® | 0 ® | 0 ® | 0 ® | "0" ® | 
      
        | bool | true | true ® | ® | ® | 1 ® | 1 ® | 1 ® | 1 ® | 1 ® | "1" ® | 
      
        | int | 0 | false ® | ® | ® | 0 ® | 0 ® | 0 ® | 0 ® | 0 ® | "0" ® | 
      
        | int | 123 | true ® | { ® | { ® | 123 ® | 123 ® | 123 ® | 123 ® | 123 ® | "123" ® | 
      
        | float | 12.345f | true ® | ® | ® | 12 ® | 12 ® | 12 ® | 12.345 ® | 12.345 ® | "12.345" ® | 
      
        | double | 3.14159265358979323846 | true ® | ® | ® | 3 ® | 3 ® | 3 ® | 3.14159 ® | 3.14159 ® | "3.14159" ® | 
      
        | double | 314.15926E-02 | true ® | ® | ® | 3 ® | 3 ® | 3 ® | 3.14159 ® | 3.14159 ® | "3.14159" ® | 
      
        | std::string | "Hello!" | false ® | ® | H ® | 0 ® | 0 ® | 0 ® | 0 ® | 0 ® | "Hello!" ® | 
      
        | std::string | "true" | true ® | ® | t ® | 0 ® | 0 ® | 0 ® | 0 ® | 0 ® | "true" ® | 
      
        | std::string | "false" | false ® | ® | f ® | 0 ® | 0 ® | 0 ® | 0 ® | 0 ® | "false" ® | 
      
        | std::string | "3141592E-6" | true ® | Ø Â® | 3 ® | -4136 ® | 3141592 ® | 3141592 ® | 3.14159 ® | 3.14159 ® | "3141592E-6" ® | 
      
        | const char * | "Test" | false ® | ® | T ® | 0 ® | 0 ® | 0 ® | 0 ® | 0 ® | "Test" ® | 
      
        | const char * | "true" | true ® | ® | t ® | 0 ® | 0 ® | 0 ® | 0 ® | 0 ® | "true" ® | 
      
        | const char * | "false" | false ® | ® | f ® | 0 ® | 0 ® | 0 ® | 0 ® | 0 ® | "false" ® | 
      
        | UniTuple<2,int> | uni2i | true ® | C ® | C ® | 67 ® | 67 ® | 67 ® | 67 ® | 67 ® | "67,89" ® | 
      
        | UniTuple<3,double> | uni3d | true ® | A ® | A ® | 65 ® | 65 ® | 65 ® | 65.6 ® | 65.6 ® | "65.6,77.8,89" ® | 
      
        | void * | nullptr | false ® | ® | n ® | 0 ® | 0 ® | 0 ® | 0 ® | 0 ® | "nullptr" ® | 
      
        | Variables... | 
      
        | int i=123 | Variable(i) | true ® | { ® | { ® | 123 ® | 123 ® | 123 ® | 123 ® | 123 ® | "123" ® | 
      
        | int i=123 | FlexibleVariable(i) | true ® | { ® | { ® | 123 ® | 123 ® | 123 ® | 123 ® | 123 ® | "123" ® | 
      
        | int i=123 | Reference(i) | true ® | { ® | { ® | 123 ® | 123 ® | 123 ® | 123 ® | 123 ® | "123" ® | 
      
        | std::string s("abc") | Variable(s) | false ® | ® | t ® | 0 ® | 0 ® | 0 ® | 0 ® | 0 ® | "test" ® | 
      
        | std::string s("abc") | FlexibleVariable(s) | false ® | ® | t ® | 0 ® | 0 ® | 0 ® | 0 ® | 0 ® | "test" ® | 
      
        | std::string s("abc") | Reference(s) | false ® | ® | t ® | 0 ® | 0 ® | 0 ® | 0 ® | 0 ® | "test" ® | 
      
        | std::string s("true") | Variable(s) | true ® | ® | t ® | 0 ® | 0 ® | 0 ® | 0 ® | 0 ® | "true" ® | 
      
        | std::string s("true") | FlexibleVariable(s) | true ® | ® | t ® | 0 ® | 0 ® | 0 ® | 0 ® | 0 ® | "true" ® | 
      
        | std::string s("true") | Reference(s) | true ® | ® | t ® | 0 ® | 0 ® | 0 ® | 0 ® | 0 ® | "true" ® | 
      
        | UniTuple | Variable(uni3d) | true ® | A ® | A ® | 65 ® | 65 ® | 65 ® | 65.6 ® | 65.6 ® | "65.6,77.8,89" ® | 
      
        | UniTuple | FlexibleVariable(uni3d) | true ® | A ® | A ® | 65 ® | 65 ® | 65 ® | 65.6 ® | 65.6 ® | "65.6,77.8,89" ® | 
      
        | UniTuple | Reference(uni3d) | true ® | A ® | A ® | 65 ® | 65 ® | 65 ® | 65.6 ® | 65.6 ® | "65.6,77.8,89" ® | 
    
    Created by: src/Variables-example.cpp: testAssignments
  
- Template Parameters
-