forked from rism-digital/verovio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
atts_critapp.h
69 lines (53 loc) · 2.01 KB
/
atts_critapp.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/////////////////////////////////////////////////////////////////////////////
// Authors: Laurent Pugin and Rodolfo Zitellini
// Created: 2014
// Copyright (c) Authors and others. All rights reserved.
//
// Code generated using a modified version of libmei
// by Andrew Hankinson, Alastair Porter, and Others
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
// NOTE: this file was generated with the Verovio libmei version and
// should not be edited because changes will be lost.
/////////////////////////////////////////////////////////////////////////////
#ifndef __VRV_ATTS_CRITAPP_H__
#define __VRV_ATTS_CRITAPP_H__
#include "att.h"
#include "attdef.h"
#include "pugixml.hpp"
//----------------------------------------------------------------------------
#include <string>
namespace vrv {
//----------------------------------------------------------------------------
// AttCrit
//----------------------------------------------------------------------------
class AttCrit : public Att {
public:
AttCrit();
virtual ~AttCrit();
/** Reset the default values for the attribute class **/
void ResetCrit();
/** Read the values for the attribute class **/
bool ReadCrit(pugi::xml_node element);
/** Write the values for the attribute class **/
bool WriteCrit(pugi::xml_node element);
/**
* @name Setters, getters and presence checker for class members.
* The checker returns true if the attribute class is set (e.g., not equal
* to the default value)
**/
///@{
void SetCause(std::string cause_) { m_cause = cause_; }
std::string GetCause() const { return m_cause; }
bool HasCause() const;
///@}
private:
/**
* Classifies the cause for the variant reading, according to any appropriate
* typology of possible origins.
**/
std::string m_cause;
/* include <attcause> */
};
} // vrv namespace
#endif // __VRV_ATTS_CRITAPP_H__