summaryrefslogtreecommitdiff
path: root/doxygen/man/man3/cmd2_HistoryItem.3
blob: 46222aa8e0ea7d967ed17b7bfa120b67225d380d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
.TH "cmd2::HistoryItem" 3 "Fri Sep 9 2011" "Cmd2" \" -*- nroff -*-
.ad l
.nh
.SH NAME
cmd2::HistoryItem \- 
.SH SYNOPSIS
.br
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "def \fB__init__\fP"
.br
.ti -1c
.RI "def \fBpr\fP"
.br
.in -1c
.SS "Public Attributes"

.in +1c
.ti -1c
.RI "\fBidx\fP"
.br
.ti -1c
.RI "\fBlowercase\fP"
.br
.in -1c
.SS "Static Public Attributes"

.in +1c
.ti -1c
.RI "string \fBlistformat\fP = '-------------------------[%d]\\n%s\\n'"
.br
.in -1c
.SH "Detailed Description"
.PP 
Definition at line 1295 of file cmd2\&.py'\&.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "def cmd2::HistoryItem::__init__ (self, instr)"
.PP
Definition at line 1297 of file cmd2\&.py'\&.
.PP
.nf
1297 
1298     def __init__(self, instr):
1299         str\&.__init__(self)
1300         self\&.lowercase = self\&.lower()
        self\&.idx = None
.fi
.SH "Member Function Documentation"
.PP 
.SS "def cmd2::HistoryItem::pr (self)"
.PP
Definition at line 1301 of file cmd2\&.py'\&.
.PP
References idx, and listformat\&.
.PP
.nf
1301 
1302     def pr(self):
1303         return self\&.listformat % (self\&.idx, str(self))
        
.fi
.SH "Member Data Documentation"
.PP 
.SS "\fBcmd2::HistoryItem::idx\fP"
.PP
Definition at line 1297 of file cmd2\&.py'\&.
.PP
Referenced by pr()\&.
.SS "string \fBcmd2::HistoryItem::listformat\fP = '-------------------------[%d]\\n%s\\n'\fC [static]\fP"
.PP
Definition at line 1296 of file cmd2\&.py'\&.
.PP
Referenced by pr()\&.
.SS "\fBcmd2::HistoryItem::lowercase\fP"
.PP
Definition at line 1297 of file cmd2\&.py'\&.

.SH "Author"
.PP 
Generated automatically by Doxygen for Cmd2 from the source code'\&.