MythTV  master
Classes | Public Types | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
MultiValue Class Reference

#include <dbaccess.h>

Inheritance diagram for MultiValue:
Inheritance graph
[legend]
Collaboration diagram for MultiValue:
Collaboration graph
[legend]

Classes

struct  entry
 

Public Types

using entry_list = std::vector< entry >
 

Public Member Functions

int add (int id, int value)
 
bool get (int id, entry &values)
 
void remove (int id, int value)
 
void remove (int id)
 
bool exists (int id, int value)
 
bool exists (int id)
 
void load_data ()
 

Protected Member Functions

 MultiValue (MultiValueImp *imp)
 
virtual ~MultiValue ()=default
 

Private Attributes

MultiValueImpm_imp {nullptr}
 

Detailed Description

Definition at line 37 of file dbaccess.h.

Member Typedef Documentation

◆ entry_list

using MultiValue::entry_list = std::vector<entry>

Definition at line 46 of file dbaccess.h.

Constructor & Destructor Documentation

◆ MultiValue()

MultiValue::MultiValue ( MultiValueImp imp)
inlineexplicitprotected

Definition at line 59 of file dbaccess.h.

◆ ~MultiValue()

virtual MultiValue::~MultiValue ( )
protectedvirtualdefault

Member Function Documentation

◆ add()

int MultiValue::add ( int  id,
int  value 
)

◆ get()

bool MultiValue::get ( int  id,
entry values 
)

◆ remove() [1/2]

void MultiValue::remove ( int  id,
int  value 
)

◆ remove() [2/2]

void MultiValue::remove ( int  id)

Definition at line 460 of file dbaccess.cpp.

◆ exists() [1/2]

bool MultiValue::exists ( int  id,
int  value 
)

Definition at line 465 of file dbaccess.cpp.

◆ exists() [2/2]

bool MultiValue::exists ( int  id)

Definition at line 470 of file dbaccess.cpp.

◆ load_data()

void MultiValue::load_data ( )

Member Data Documentation

◆ m_imp

MultiValueImp* MultiValue::m_imp {nullptr}
private

Definition at line 63 of file dbaccess.h.

Referenced by add(), exists(), get(), load_data(), and remove().


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