source: sources/src/sc_module_name.h @ 65

Last change on this file since 65 was 52, checked in by meunier, 11 years ago

Code formatting in all source files.

File size: 1.9 KB
Line 
1/*------------------------------------------------------------\
2|                                                             |
3| Tool    :                  systemcass                       |
4|                                                             |
5| File    :                 sc_module_name.h                  |
6|                                                             |
7| Author  :                 Buchmann Richard                  |
8|                           Taktak Sami                       |
9|                                                             |
10| Date    :                   09_07_2004                      |
11|                                                             |
12\------------------------------------------------------------*/
13
14#ifndef __SC_MODULE_NAME_H__
15#define __SC_MODULE_NAME_H__
16
17#include "sc_fwd.h"
18
19namespace sc_core {
20
21// ----------------------------------------------------------------------------
22//  CLASS : sc_module_name
23//
24//  Module name class.
25// ----------------------------------------------------------------------------
26
27class sc_module_name {
28
29    /////////////////////////
30    // SYSTEMCASS SPECIFIC //
31    void init();
32    /////////////////////////
33
34    const char * m_name;
35    bool m_pushed;
36    friend class sc_module;
37
38    //  friend class sc_object_manager;
39    public:
40    sc_module_name(const char *);
41    sc_module_name(const sc_module_name &);
42    ~sc_module_name();
43    operator const char * () const { return m_name; };
44
45    private:
46    // disabled
47    sc_module_name();
48    sc_module_name & operator = (const sc_module_name &);
49};
50
51
52} // end of namespace sc_core
53
54#endif /* __SC_MODULE_NAME__ */
55
56/*
57# Local Variables:
58# tab-width: 4;
59# c-basic-offset: 4;
60# c-file-offsets:((innamespace . 0)(inline-open . 0));
61# indent-tabs-mode: nil;
62# End:
63#
64# vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=4:softtabstop=4
65*/
66
Note: See TracBrowser for help on using the repository browser.