| 
    xlnt - community edition
    
   | 
 
A 2D range of cells in a worksheet that is referred to by name. ws->range("A1:B2") could be replaced by ws->range("range1") More...
#include <named_range.hpp>
Public Types | |
| using | target = std::pair< worksheet, range_reference > | 
| Type alias for the combination of sheet and range this named_range points to.  More... | |
Public Member Functions | |
| named_range () | |
| Constructs a named range that has no name and has no targets.  More... | |
| named_range (const named_range &other) | |
| Constructs a named range by copying its name and targets from other.  More... | |
| named_range (const std::string &name, const std::vector< target > &targets) | |
| Constructs a named range with the given name and targets.  More... | |
| std::string | name () const | 
| Returns the name of this range.  More... | |
| const std::vector< target > & | targets () const | 
| Returns the set of targets of this named range as a vector.  More... | |
| named_range & | operator= (const named_range &other) | 
| Assigns the name and targets of this named_range to that of other.  More... | |
| bool | operator== (const named_range &rhs) const | 
| bool | operator!= (const named_range &rhs) const | 
A 2D range of cells in a worksheet that is referred to by name. ws->range("A1:B2") could be replaced by ws->range("range1")
| using xlnt::named_range::target = std::pair<worksheet, range_reference> | 
Type alias for the combination of sheet and range this named_range points to.
| xlnt::named_range::named_range | ( | ) | 
Constructs a named range that has no name and has no targets.
| xlnt::named_range::named_range | ( | const named_range & | other | ) | 
Constructs a named range by copying its name and targets from other.
| xlnt::named_range::named_range | ( | const std::string & | name, | 
| const std::vector< target > & | targets | ||
| ) | 
Constructs a named range with the given name and targets.
| std::string xlnt::named_range::name | ( | ) | const | 
Returns the name of this range.
| named_range& xlnt::named_range::operator= | ( | const named_range & | other | ) | 
Assigns the name and targets of this named_range to that of other.
| const std::vector<target>& xlnt::named_range::targets | ( | ) | const | 
Returns the set of targets of this named range as a vector.
 1.8.13