fieker-DuValspielwiese
Last change
on this file since 210e07 was
7a452a7,
checked in by Oleksandr Motsak <motsak@…>, 13 years ago
|
modeline for vim/emacs
same header everywhere.
TODO: c-source? singularxx-defs?
|
-
Property mode set to
100644
|
File size:
887 bytes
|
Line | |
---|
1 | // -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- |
---|
2 | /*****************************************************************************\ |
---|
3 | * Computer Algebra System SINGULAR |
---|
4 | \*****************************************************************************/ |
---|
5 | /** @file template.cc |
---|
6 | * |
---|
7 | * This file implements the class Template. |
---|
8 | * |
---|
9 | * ABSTRACT: We need this for something... |
---|
10 | * |
---|
11 | * @author Oleksandr Motsak |
---|
12 | * |
---|
13 | * @internal @version \$Id$ |
---|
14 | * |
---|
15 | **/ |
---|
16 | /*****************************************************************************/ |
---|
17 | |
---|
18 | // include header file |
---|
19 | #include "template.h" |
---|
20 | |
---|
21 | USING_NAMESPACE_SINGULARXX |
---|
22 | |
---|
23 | // compiled stuff of the class Template |
---|
24 | |
---|
25 | /// We use Algorithm ABC from Book... |
---|
26 | int Template::someMethod( int a, int &o ) |
---|
27 | { |
---|
28 | int t = o; |
---|
29 | |
---|
30 | // return something |
---|
31 | o = a; |
---|
32 | return t; |
---|
33 | }; |
---|
34 | |
---|
35 | // Vi-modeline: vim: filetype=c:syntax:shiftwidth=2:tabstop=8:textwidth=0:expandtab |
---|
Note: See
TracBrowser
for help on using the repository browser.