ChildScope

A container for details about an aggregator's child scope. More...

#include <unity/scopes/ChildScope.h>

Public Member Functions

 ChildScope (std::string const &id, ScopeMetadata const &metadata, bool enabled=true, std::set< std::string > const &keywords={})
 Construct a new ChildScope with the specified id, metadata, enabled state and keywords list. More...
 

Public Attributes

std::string id
 The scope id of this child scope.
 
ScopeMetadata metadata
 The scope metadata of this child scope.
 
bool enabled
 Whether this child scope should be aggregated.
 
std::set< std::string > keywords
 The list of keywords used to aggregate this scope (if any).
 

Detailed Description

A container for details about an aggregator's child scope.

Constructor & Destructor Documentation

unity::scopes::ChildScope::ChildScope ( std::string const &  id,
ScopeMetadata const &  metadata,
bool  enabled = true,
std::set< std::string > const &  keywords = {} 
)

Construct a new ChildScope with the specified id, metadata, enabled state and keywords list.

Parameters
idThe scope id of this child scope.
metadataThe scope metadata of this child scope.
enabledWhether this child scope should be aggregated.
keywordsThe list of keywords used to aggregate this scope (if any).