/usr/include/libfolia/folia_properties.h is in libfolia-dev 1.6-2build2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | #ifndef PROPERTIES_H
#define PROPERTIES_H
#include <set>
#include <string>
namespace folia {
enum ElementType : unsigned int;
enum Attrib : int;
enum AnnotatorType: int;
namespace AnnotationType {
enum AnnotationType : int;
}
class properties {
public:
properties();
ElementType ELEMENT_ID;
std::string XMLTAG;
std::set<ElementType> ACCEPTED_DATA;
std::set<ElementType> REQUIRED_DATA;
Attrib REQUIRED_ATTRIBS;
Attrib OPTIONAL_ATTRIBS;
AnnotationType::AnnotationType ANNOTATIONTYPE;
std::string SUBSET;
size_t OCCURRENCES;
size_t OCCURRENCES_PER_SET;
std::string TEXTDELIMITER;
bool PRINTABLE; // does text() work on this element
bool SPEAKABLE; // does phon() work on this element
bool XLINK;
bool AUTH;
bool SETONLY;
bool AUTO_GENERATE_ID;
bool TEXTCONTAINER;
bool PHONCONTAINER;
std::string LABEL;
};
extern const std::set<std::string> AttributeFeatures;
extern const std::map<ElementType,std::string> et_s_map;
extern const std::map<std::string,ElementType> s_et_map;
extern const std::map<AnnotationType::AnnotationType,std::string> ant_s_map;
extern const std::map<std::string,AnnotationType::AnnotationType> s_ant_map;
extern const std::set<ElementType> default_ignore;
extern const std::set<ElementType> default_ignore_annotations;
extern const std::set<ElementType> default_ignore_structure;
extern const std::set<ElementType> AnnoExcludeSet;
extern const std::set<ElementType> SpanSet;
extern const int MAJOR_VERSION;
extern const int MINOR_VERSION;
extern const int SUB_VERSION;
extern const std::string NSFOLIA;
extern const std::string NSDCOI;
extern const std::string NSIMDI;
void static_init();
void print_type_hierarchy( std::ostream& );
}
#endif
|