Lumiera  0.pre.03
»edit your freedom«
label.hpp
Go to the documentation of this file.
1 /*
2  LABEL.hpp - a user visible Marker or Tag
3 
4  Copyright (C) Lumiera.org
5  2008, Hermann Vosseler <Ichthyostega@web.de>
6 
7  This program is free software; you can redistribute it and/or
8  modify it under the terms of the GNU General Public License as
9  published by the Free Software Foundation; either version 2 of
10  the License, or (at your option) any later version.
11 
12  This program is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with this program; if not, write to the Free Software
19  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 
21 */
22 
23 
36 #ifndef STEAM_MOBJECT_SESSION_LABEL_H
37 #define STEAM_MOBJECT_SESSION_LABEL_H
38 
40 #include "lib/symbol.hpp"
41 
42 
43 
44 namespace steam {
45 namespace mobject {
46 namespace session {
47 
48  using lib::Symbol;
49 
50 
59  class Label : public Meta
60  {
62 
63  Symbol typeID_;
64 
65  string
66  initShortID() const
67  {
68  return buildShortID("Label");
69  }
70 
71  bool isValid() const;
72 
73  public:
74  Label (Symbol type)
75  : typeID_(type)
76  {
77  throwIfInvalid();
78  }
79 
80  };
81 
82 
83 
84 }}} // namespace steam::mobject::session
85 #endif
Steam-Layer implementation namespace root.
Namespace of Session and user visible high-level objects.
Definition: sequence.hpp:74
Token or Atom with distinct identity.
Definition: symbol.hpp:126
Marker types to indicate a literal string and a Symbol.
Intermediate Asset interface: metadata and processing instructions.
Meta-MObject doesn&#39;t represent real Media Content, but rather all sorts of Processing Instructions an...
Any sort of User visible Marker or Tag, used to mark time positions and ranges, or specific locations...
Definition: label.hpp:59