summaryrefslogtreecommitdiff
path: root/libsi/descriptor.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsi/descriptor.h')
-rw-r--r--libsi/descriptor.h27
1 files changed, 26 insertions, 1 deletions
diff --git a/libsi/descriptor.h b/libsi/descriptor.h
index 4f2e41b6..f105f7a0 100644
--- a/libsi/descriptor.h
+++ b/libsi/descriptor.h
@@ -6,7 +6,7 @@
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
- * $Id: descriptor.h 2.1 2010/11/01 15:24:32 kls Exp $
+ * $Id: descriptor.h 2.2 2011/06/15 21:26:00 kls Exp $
* *
***************************************************************************/
@@ -361,6 +361,31 @@ protected:
virtual void Parse();
};
+class ContentIdentifierDescriptor : public Descriptor {
+public:
+ class Identifier : public LoopElement {
+ public:
+ String identifier;
+ int getCridType() const;
+ int getCridLocation() const;
+ virtual int getLength() { return sizeof(content_identifier_entry)+identifier.getLength(); }
+ protected:
+ virtual void Parse();
+ private:
+ const content_identifier_entry *s;
+ };
+ StructureLoop<Identifier> identifierLoop;
+protected:
+ virtual void Parse();
+};
+
+class DefaultAuthorityDescriptor : public Descriptor {
+public:
+ String DefaultAuthority; //ID
+protected:
+ virtual void Parse();
+};
+
//abstract base class
class MultilingualNameDescriptor : public Descriptor {
public: