CinemaScope
A cross-platform viewer for Cinema databases
Public Slots | Signals | Public Member Functions | List of all members
CinParamSet Class Reference

Manages a set of parameters. More...

#include <CinParamSet.h>

Inheritance diagram for CinParamSet:

Public Slots

void onParameterValueChanged ()
 

Signals

void parameterChanged ()
 

Public Member Functions

bool add (const QString &name, CinParameter::Type type)
 Add uniquely named parameters. More...
 
void clear ()
 
bool parameterExists (const QString &key)
 
void increment (const QString &name)
 
void decrement (const QString &name)
 
const QStringList & getParameterNames () const
 
int getNumParameters ()
 
CinParametergetParameter (const QString &name)
 
void init (const CinDatabase &db)
 
void print ()
 
QMap< QString, CinParameter * > & getParameters ()
 

Detailed Description

Manages a set of parameters.

A set of parameters defines the input values for a Cinema Database This class manages communication about these parameters as they change in a Qt application.

Member Function Documentation

◆ add()

bool CinParamSet::add ( const QString &  name,
CinParameter::Type  type 
)

Add uniquely named parameters.

Adds uniquely named parameters. The class maintains a list of parameter names in the order they were added as well.


The documentation for this class was generated from the following files: