source: CMT/v1r14p20031120/src/cmt_branch.h @ 1

Last change on this file since 1 was 1, checked in by arnault, 19 years ago

Import all tags

File size: 610 bytes
Line 
1#ifndef __cmt_branch_h__
2#define __cmt_branch_h__
3
4#include "cmt_parser.h"
5#include "cmt_system.h"
6
7class Branch
8{
9public:
10  typedef cmt_vector<Branch> BranchVector;
11
12  static void action (const CmtSystem::cmt_string_vector& words);
13  static Branch* find (const cmt_string& name);
14  static void add (const cmt_string& name);
15  static void print_all (PrintMode mode);
16  static void clear_all ();
17  static BranchVector& branches ();
18
19public:
20  Branch ();
21  ~Branch ();
22  const cmt_string& name () const;
23  void print (PrintMode mode) const;
24
25private:
26  cmt_string m_name;
27};
28
29#endif
Note: See TracBrowser for help on using the repository browser.