CCCC - C and C++ Code Counter
9999-git
CCCC Development version (post-3.1.4)
Main Page
Classes
Files
File List
File Members
cccc
cccc_ext.h
Go to the documentation of this file.
1
/*
2
CCCC - C and C++ Code Counter
3
Copyright (C) 1994-2005 Tim Littlefair (tim_littlefair@hotmail.com)
4
5
This program is free software; you can redistribute it and/or modify
6
it under the terms of the GNU General Public License as published by
7
the Free Software Foundation; either version 2 of the License, or
8
(at your option) any later version.
9
10
This program is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU General Public License for more details.
14
15
You should have received a copy of the GNU General Public License
16
along with this program; if not, write to the Free Software
17
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18
*/
19
/*
20
* cccc_ext.h
21
*/
22
#ifndef CCCC_EXT_H
23
#define CCCC_EXT_H
24
25
#include <string>
26
using
std::string;
27
28
#include "
cccc_utl.h
"
29
30
class
CCCC_Item
;
31
32
enum
ExtentNameLevel
{
nlFILENAME
=-1,
nlLINENUMBER
=-2,
nlDESCRIPTION
=-3};
33
class
CCCC_Extent
34
{
35
friend
class
CCCC_Record
;
36
friend
class
CCCC_Project
;
37
38
string
filename
;
39
string
linenumber
;
40
string
description
;
41
string
flags
;
42
string
count_buffer
;
43
UseType
ut
;
44
Visibility
v
;
45
static
unsigned
int
nextkey
;
46
unsigned
int
extkey
;
47
public
:
48
CCCC_Extent
();
49
CCCC_Extent
(
CCCC_Item
& is);
50
51
string
name
(
int
index )
const
;
52
string
key
()
const
;
53
int
GetFromItem
(
CCCC_Item
& item);
54
int
AddToItem
(
CCCC_Item
& item);
55
Visibility
get_visibility
()
const
{
return
v
; }
56
int
get_count
(
const
char
*count_tag);
57
UseType
get_usetype
()
const
{
return
ut
; }
58
const
char
*
get_description
()
const
{
return
description.c_str(); }
59
};
60
61
#endif // CCCC_EXT_H
62
63
64
65
66
67
CCCC_Extent::description
string description
Definition:
cccc_ext.h:40
nlLINENUMBER
Definition:
cccc_ext.h:32
CCCC_Extent::nextkey
static unsigned int nextkey
Definition:
cccc_ext.h:45
CCCC_Extent::CCCC_Extent
CCCC_Extent()
Definition:
cccc_ext.cc:30
CCCC_Extent::filename
string filename
Definition:
cccc_ext.h:38
CCCC_Extent::extkey
unsigned int extkey
Definition:
cccc_ext.h:46
CCCC_Extent::key
string key() const
Definition:
cccc_ext.cc:145
CCCC_Project
Definition:
cccc_prj.h:45
CCCC_Extent::flags
string flags
Definition:
cccc_ext.h:41
nlFILENAME
Definition:
cccc_ext.h:32
CCCC_Item
Definition:
cccc_itm.h:15
CCCC_Extent
Definition:
cccc_ext.h:33
CCCC_Extent::get_count
int get_count(const char *count_tag)
Definition:
cccc_ext.cc:147
Visibility
Visibility
Definition:
cccc_utl.h:52
UseType
UseType
Definition:
cccc_utl.h:65
ExtentNameLevel
ExtentNameLevel
Definition:
cccc_ext.h:32
CCCC_Extent::get_usetype
UseType get_usetype() const
Definition:
cccc_ext.h:57
CCCC_Extent::GetFromItem
int GetFromItem(CCCC_Item &item)
Definition:
cccc_ext.cc:84
CCCC_Extent::get_description
const char * get_description() const
Definition:
cccc_ext.h:58
CCCC_Extent::linenumber
string linenumber
Definition:
cccc_ext.h:39
CCCC_Extent::AddToItem
int AddToItem(CCCC_Item &item)
Definition:
cccc_ext.cc:64
CCCC_Extent::v
Visibility v
Definition:
cccc_ext.h:44
cccc_utl.h
CCCC_Extent::get_visibility
Visibility get_visibility() const
Definition:
cccc_ext.h:55
nlDESCRIPTION
Definition:
cccc_ext.h:32
CCCC_Extent::count_buffer
string count_buffer
Definition:
cccc_ext.h:42
CCCC_Extent::ut
UseType ut
Definition:
cccc_ext.h:43
CCCC_Record
Definition:
cccc_rec.h:38
CCCC_Extent::name
string name(int index) const
Definition:
cccc_ext.cc:107
Generated on Sat Sep 19 2015 16:02:27 for CCCC - C and C++ Code Counter by
1.8.10