1#ifndef __FIBER_BUNDLEPROPERTY_HPP
2#define __FIBER_BUNDLEPROPERTY_HPP
10class BUNDLE_API BundleProperty;
12BUNDLE_API
bool hasProperty(
const GridSelector&,
const BundleProperty&);
34 virtual bool checkSlice(
Slice&S,
const string&GridName)
const = 0;
47 bool checkSlice(
Slice&S,
const string&GridName)
const override;
63 bool checkSlice(
Slice&S,
const string&GridName)
const override;
65 virtual bool checkGrid(
const Grid&S)
const = 0;
90 bool checkGrid(
const Grid&S)
const override;
98template<
class Gr
idType >
103 bool checkGrid(
const Grid&G)
const override
106 return hs.checkGrid( G );
119 bool checkGrid(
const Grid&G)
const override;
135 bool checkGrid(
const Grid&G)
const override;
144template <
int Dimensions>
149 bool checkGrid(
const Grid&G)
const override
178 bool checkGrid(
const Grid&G)
const override;
191 bool checkGrid(
const Grid&G)
const override;
204 bool checkGrid(
const Grid&G)
const override;
213template <
class FirstProperty,
class SecondProperty>
214struct AND : FirstProperty, SecondProperty
216 bool checkSlice(
Slice&S,
const string&GridName)
const override
218 return FirstProperty::checkSlice(S, GridName) &&
219 SecondProperty::checkSlice(S, GridName);
226template <
class FirstProperty,
class SecondProperty>
227struct OR : FirstProperty, SecondProperty
229 bool checkSlice(
Slice&S,
const string&GridName)
const override
231 return FirstProperty::checkSlice(S, GridName) ||
232 SecondProperty::checkSlice(S, GridName);
239template <
class SomeProperty>
242 bool checkSlice(
Slice&S,
const string&GridName)
const override
244 return !SomeProperty::checkSlice(S, GridName);
Convenient abstract base class for inspecting and evaluating properties of Bundles.
Definition BundleProperty.hpp:21
Convenience class that implements a pointer to a Bundle object but adds some useful member funtions t...
Definition Bundle.hpp:779
The main entity holding all information.
Definition Bundle.hpp:173
An iterator with an optional DataCreator, which is just a class to intercept creation of data along a...
Definition CreativeIterator.hpp:34
An abstract bundle property which returns true if a Grid with the property query as implemented in th...
Definition BundleProperty.hpp:59
A Grid is a set of Skeleton objects, each of them accessed via some unique SkeletonID object.
Definition Grid.hpp:60
A concrete Grid Property which looks for the existence of a Skeleton of the specified dimension and i...
Definition BundleProperty.hpp:76
SkeletonExistence(int Dimensionality, int theIndexDepth)
Create from Dimensions and index depth.
Definition BundleProperty.hpp:79
SkeletonExistence(const SkeletonID &sid)
Create from skeleton ID.
Definition BundleProperty.hpp:84
Identifier for Skeletons within a Grid.
Definition SkeletonID.hpp:24
Information per time slice, mainly a set of Grid objects that are accessed via GridID objects.
Definition Slice.hpp:36
Checks if the given Grid has a representation in cartesian coordinates.
Definition BundleProperty.hpp:188
Checks if the given Grid has a explicit cartesian coordinates, i.e, no procedural coordinates such as...
Definition BundleProperty.hpp:201
Definition BundleProperty.hpp:100
Checks if the given Grid is a Curvilinear Grid.
Definition BundleProperty.hpp:175
Checks if the given Grid is regular.
Definition BundleProperty.hpp:146
Given a fragmented field of curvilinear coordinates, (3D array of coordinates), build a uniform Grid ...
Definition FAQ.dox:2
Combining bundle properties as AND operation.
Definition BundleProperty.hpp:215
Inverting a bundle property.
Definition BundleProperty.hpp:241
Combining bundle properties as OR operation.
Definition BundleProperty.hpp:228