OpenShot Library | libopenshot-audio  0.1.9

Namespaces

 juce::TypeHelpers
 This namespace contains a few template classes for helping work out class type variations.
 

Classes

class  juce::BigInteger
 An arbitrarily large integer class. More...
 
class  juce::Expression::Scope::Visitor
 Used as a callback by the Scope::visitRelativeScope() method. More...
 
class  juce::Expression::Scope
 When evaluating an Expression object, this class is used to resolve symbols and perform functions that the expression uses. More...
 
struct  juce::Expression::Symbol
 Represents a symbol that is used in an Expression. More...
 
class  juce::Expression
 A class for dynamically evaluating simple numeric expressions. More...
 
struct  juce::MathConstants< FloatType >
 Commonly used mathematical constants. More...
 
struct  juce::TypeHelpers::ParameterType< Type >
 The ParameterType struct is used to find the best type to use when passing some kind of object as a parameter. More...
 
struct  juce::TypeHelpers::SmallestFloatType< Type >
 These templates are designed to take a type, and if it's a double, they return a double type; for anything else, they return a float type. More...
 
class  juce::NormalisableRange< ValueType >
 Represents a mapping between an arbitrary range of values and a normalised 0->1 range. More...
 
class  juce::Random
 A random number generator. More...
 
class  juce::Range< ValueType >
 A general-purpose range object, that simply represents any linear range with a start and end point. More...
 
class  juce::StatisticsAccumulator< FloatType >
 A class that measures various statistics about a series of floating point values that it is given. More...
 

Detailed Description


Class Documentation

◆ juce::TypeHelpers::ParameterType

struct juce::TypeHelpers::ParameterType

template<typename Type>
struct juce::TypeHelpers::ParameterType< Type >

The ParameterType struct is used to find the best type to use when passing some kind of object as a parameter.

Of course, this is only likely to be useful in certain esoteric template situations.

E.g. "myFunction (typename TypeHelpers::ParameterType<int>::type, typename TypeHelpers::ParameterType<MyObject>::type)" would evaluate to "myfunction (int, const MyObject&)", keeping any primitive types as pass-by-value, but passing objects as a const reference, to avoid copying.

Definition at line 654 of file juce_MathsFunctions.h.

Class Members
typedef const Type & type

◆ juce::TypeHelpers::SmallestFloatType

struct juce::TypeHelpers::SmallestFloatType

template<typename Type>
struct juce::TypeHelpers::SmallestFloatType< Type >

These templates are designed to take a type, and if it's a double, they return a double type; for anything else, they return a float type.

Definition at line 679 of file juce_MathsFunctions.h.

Class Members
typedef float type