Audacity 3.2.0
Classes | Namespaces | Functions | Variables
BeatsNumericConverterFormatter.cpp File Reference
#include "BeatsNumericConverterFormatter.h"
#include <algorithm>
#include <array>
#include <cmath>
#include "NumericConverterRegistry.h"
#include "NumericConverterFormatterContext.h"
#include "SampleCount.h"
#include "Project.h"
#include "ProjectTimeSignature.h"
Include dependency graph for BeatsNumericConverterFormatter.cpp:

Go to the source code of this file.

Classes

class  anonymous_namespace{BeatsNumericConverterFormatter.cpp}::BeatsFormatter
 
class  anonymous_namespace{BeatsNumericConverterFormatter.cpp}::BeatsNumericConverterFormatterFactory
 

Namespaces

namespace  anonymous_namespace{BeatsNumericConverterFormatter.cpp}
 

Functions

constexpr size_t anonymous_namespace{BeatsNumericConverterFormatter.cpp}::Get10Pow (size_t pow)
 
auto anonymous_namespace{BeatsNumericConverterFormatter.cpp}::BuildBeatsGroup (bool timeFormat)
 
std::unique_ptr< NumericConverterFormatterCreateBeatsNumericConverterFormatter (const FormatterContext &context, int fracPart, bool timeFormat)
 

Variables

const auto anonymous_namespace{BeatsNumericConverterFormatter.cpp}::BarString = XO("bar")
 
const auto anonymous_namespace{BeatsNumericConverterFormatter.cpp}::BeatString = XO("beat")
 
NumericConverterItemRegistrator anonymous_namespace{BeatsNumericConverterFormatter.cpp}::beatsTime
 
NumericConverterItemRegistrator anonymous_namespace{BeatsNumericConverterFormatter.cpp}::beatsDuration
 

Function Documentation

◆ CreateBeatsNumericConverterFormatter()

std::unique_ptr< NumericConverterFormatter > CreateBeatsNumericConverterFormatter ( const FormatterContext context,
int  fracPart,
bool  timeFormat 
)

Definition at line 413 of file BeatsNumericConverterFormatter.cpp.

416{
417 return std::make_unique<BeatsFormatter>(context, fracPart, timeFormat);
418}

Referenced by TEST_CASE().

Here is the caller graph for this function: