Aegis  4.25.D505
/home/archives/aegis/branch.4/branch.25/delta28933.505/libaegis/project/identifi_sub/plain.h
Go to the documentation of this file.
00001 //
00002 //      aegis - project change supervisor
00003 //      Copyright (C) 2004-2008, 2011, 2012 Peter Miller
00004 //
00005 //      This program is free software; you can redistribute it and/or modify
00006 //      it under the terms of the GNU General Public License as published by
00007 //      the Free Software Foundation; either version 3 of the License, or
00008 //      (at your option) any later version.
00009 //
00010 //      This program is distributed in the hope that it will be useful,
00011 //      but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 //      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013 //      GNU General Public License for more details.
00014 //
00015 //      You should have received a copy of the GNU General Public License
00016 //      along with this program. If not, see
00017 //      <http://www.gnu.org/licenses/>.
00018 //
00019 
00020 #ifndef LIBAEGIS_PROJECT_IDENTIFI_SUB_PLAIN_H
00021 #define LIBAEGIS_PROJECT_IDENTIFI_SUB_PLAIN_H
00022 
00023 #include <libaegis/project/identifi_sub.h>
00024 
00030 class project_identifier_subset_plain:
00031     public project_identifier_subset
00032 {
00033 public:
00037     virtual ~project_identifier_subset_plain();
00038 
00042     project_identifier_subset_plain();
00043 
00044     // See base class for documentation.
00045     void command_line_parse(usage_t);
00046 
00047     // See base class for documentation.
00048     void command_line_check(usage_t);
00049 
00050     // See base class for documentation.
00051     project *get_pp();
00052 
00053     // See base class for documentation.
00054     user_ty::pointer get_up();
00055 
00056     // See base class for documentation.
00057     void set_user_by_name(nstring &login);
00058 
00059     // See base class for documentation.
00060     void parse_change_with_branch(long &change_number, usage_t usage);
00061 
00062     // See base class for documentation.
00063     void parse_change_with_branch(long &change_number, const char *&branch_arg,
00064         usage_t usage);
00065 
00066     // See base class for documentation.
00067     bool set() const;
00068 
00069 private:
00074     string_ty *project_name;
00075 
00080     project *pp;
00081 
00086     user_ty::pointer up;
00087 
00091     project_identifier_subset_plain(const project_identifier_subset_plain &);
00092 
00096     project_identifier_subset_plain &operator=(
00097         const project_identifier_subset_plain &);
00098 };
00099 
00100 #endif // LIBAEGIS_PROJECT_IDENTIFI_SUB_PLAIN_H
00101 // vim: set ts=8 sw=4 et :