source: sources/src/sc_module_name.h@ 16

Last change on this file since 16 was 1, checked in by buchmann, 19 years ago

Initial import from CVS repository

File size: 1.7 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#ifndef __SC_MODULE_NAME_H__
14#define __SC_MODULE_NAME_H__
15
16#include"sc_fwd.h"
17
18namespace sc_core {
19
20// ----------------------------------------------------------------------------
21// CLASS : sc_module_name
22//
23// Module name class.
24// ----------------------------------------------------------------------------
25
26class sc_module_name
27{
28 /////////////////////////
29 // SYSTEMCASS SPECIFIC //
30 void init ();
31 /////////////////////////
32
33 const char* m_name;
34 bool m_pushed;
35 friend class sc_module;
36// friend class sc_object_manager;
37public:
38 sc_module_name( const char* );
39 sc_module_name( const sc_module_name & );
40 ~sc_module_name ();
41 operator const char*() const { return m_name; };
42private:
43 // disabled
44 sc_module_name ();
45 sc_module_name & operator = (const sc_module_name &);
46};
47
48//std::ostream& operator << (std::ostream&, const sc_core::sc_module_name &);
49
50} // end of namespace sc_core
51
52#endif /* __SC_MODULE_NAME__ */
53
Note: See TracBrowser for help on using the repository browser.