Rose
Classes | Namespaces | Typedefs | Functions
StructuredTypes.h File Reference

Classes and functions used to implement structured data collections. More...

#include <algorithm>
#include <exception>
#include <memory>
#include <vector>
#include <iostream>
#include <sstream>
#include "Utilities.h"
Include dependency graph for StructuredTypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  rose::NodeTypeError
 
class  rose::NodeRangeError
 
class  rose::ContainerTypeError
 An exception to indicate an unexpected container type at runtime. More...
 
struct  rose::IdPath
 A path of objects by Id. More...
 
struct  rose::Id
 A type to specify an Id value. More...
 
class  rose::Node
 A class to define a polymorphic member in an N-Array tree. More...
 
class  rose::Container
 A container which holds the subordinate Node objects. More...
 

Namespaces

 rose
 ToDo: There is an issue that the initial scroll interaction is lost if the click/press lands on a Widget and not a Container (by user observation).
 

Typedefs

using rose::IdPathElement = std::pair< std::string, std::string >
 

Functions

template<typename I >
IdPath rose::parsePathIdString (I inputString)
 
template<class NodeClass >
std::shared_ptr< NodeClass > operator<< (std::shared_ptr< NodeClass > widget, const rose::Id &id)
 An insertion operator to set the Id of a Widget. More...
 
std::ostream & operator<< (std::ostream &ostrm, const rose::IdPath &idPath)
 

Detailed Description

Classes and functions used to implement structured data collections.

Author
Richard Buckley richa.nosp@m.rd.b.nosp@m.uckle.nosp@m.y@ie.nosp@m.ee.or.nosp@m.g
Version
1.0
Date
2021-03-04

Function Documentation

◆ operator<<()

template<class NodeClass >
std::shared_ptr<NodeClass> operator<< ( std::shared_ptr< NodeClass >  widget,
const rose::Id id 
)
inline

An insertion operator to set the Id of a Widget.

Template Parameters
NodeClassThe class of the Widget.
Parameters
widgetThe Widget.
idThe Id.
Returns
The Widget.