My Project
Toggle main menu visibility
Loading...
Searching...
No Matches
templates
template.h
Go to the documentation of this file.
1
// -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2
/*****************************************************************************\
3
* Computer Algebra System SINGULAR
4
\*****************************************************************************/
5
/** @file template.h
6
*
7
* This file defines the class Template.
8
*
9
* ABSTRACT: We need this for something...
10
*
11
* @author Oleksandr Motsak
12
*
13
*
14
**/
15
/*****************************************************************************/
16
17
#ifndef TEMPLATE_H
18
#define TEMPLATE_H
19
20
/** @class Template template.h <someRootDirectory/template.h>
21
*
22
* Brief description of class Template.
23
*
24
* Detailed description of class Template.
25
*
26
* @sa some other classes
27
*/
28
class
Template
:
public
TemplateBaseClass
29
{
30
public
:
31
/// Name type of *this.
32
typedef
Template
Self
;
33
34
/// My enum. Or yours, if you want!
35
enum
MyEnum
36
{
37
int
EVal1
,
///< Enum value 1
38
int
EVal2
///< Enum value 2
39
};
40
41
/// Default constructor.
42
/// And now goes the detailed description....
43
Template
();
44
45
/// Default destructor.
46
~Template
();
47
48
49
/// Brief method description.
50
///
51
/// Detailed method description.
52
///
53
/// @return information about return value
54
/// @sa strcpy2
55
///
56
int
someMethod
(
57
int
a,
///< [in] some int
58
int
&o
///< [in,out] integer input and resulting value
59
);
60
61
/// Example of Copy a string method.
62
///
63
/// The strcpy2 function copies @a strSource, including
64
/// the terminating null character, to the location
65
/// specified by @a strDestination. No overflow checking
66
/// is performed when strings are copied or appended.
67
/// The behavior of @a strcpy2 is undefined if the source
68
/// and destination strings overlap.
69
///
70
/// @return @a strcpy2 returns the destination string.
71
/// No return value is reserved to indicate an error.
72
/// @sa someMethod(), wcscpy(), _mbscpy(), strncpy()
73
char
*
strcpy2
(
74
char
* strDestination,
///< [out] pointer to source null terminated.
75
///< continue ...
76
const
char
* strSource
///< [in] pointer to destination memory.
77
);
78
79
protected
:
80
/// Short description of some flag till first dot. Everything after that will
81
/// be considered as a detaiiled description.
82
bool
m_bSomeFlag
;
83
};
84
85
#endif
86
/* #ifndef TEMPLATE_H */
87
88
// Vi-modeline: vim: filetype=c:syntax:shiftwidth=2:tabstop=8:textwidth=0:expandtab
Template::someMethod
int someMethod(int a, int &o)
Brief method description.
Definition
template.cc:25
Template::~Template
~Template()
Default destructor.
Template::MyEnum
MyEnum
My enum. Or yours, if you want!
Definition
template.h:36
Template::EVal2
@ EVal2
Enum value 2.
Definition
template.h:38
Template::EVal1
@ EVal1
Enum value 1.
Definition
template.h:37
Template::m_bSomeFlag
bool m_bSomeFlag
Short description of some flag till first dot. Everything after that will be considered as a detaiile...
Definition
template.h:82
Template::strcpy2
char * strcpy2(char *strDestination, const char *strSource)
Example of Copy a string method.
Template::Self
Template Self
Name type of *this.
Definition
template.h:32
Template::Template
Template()
Default constructor. And now goes the detailed description....
Generated on
for My Project by
doxygen 1.17.0
for
Singular