|
Revision 157
(checked in by ldavis, 4 years ago)
|
added svn:eol-style to all files
added svn:mime-type to all files
|
- Property svn:mime-type set to
text/plain
- Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 |
// SSName.h: interface for the SSName class. |
|---|
| 2 |
// |
|---|
| 3 |
////////////////////////////////////////////////////////////////////// |
|---|
| 4 |
|
|---|
| 5 |
#if !defined(AFX_SSNAME_H__6602C07F_65ED_4FD7_A730_6D416805378A__INCLUDED_) |
|---|
| 6 |
#define AFX_SSNAME_H__6602C07F_65ED_4FD7_A730_6D416805378A__INCLUDED_ |
|---|
| 7 |
|
|---|
| 8 |
#if _MSC_VER > 1000 |
|---|
| 9 |
#pragma once |
|---|
| 10 |
#endif // _MSC_VER > 1000 |
|---|
| 11 |
|
|---|
| 12 |
#include "SSTypes.h" |
|---|
| 13 |
#include "SSNameObject.h" |
|---|
| 14 |
|
|---|
| 15 |
class SSName |
|---|
| 16 |
{ |
|---|
| 17 |
public: |
|---|
| 18 |
SSName(SSNAME ssname, SSNamesCache* pNamesService = NULL); |
|---|
| 19 |
virtual ~SSName(); |
|---|
| 20 |
|
|---|
| 21 |
std::string GetFullName () const; |
|---|
| 22 |
long GetOffset () const; |
|---|
| 23 |
std::string GetType () const; |
|---|
| 24 |
|
|---|
| 25 |
void ToXml (XMLNode* pParent, std::string name = "SSName"); |
|---|
| 26 |
operator const SSNAME () |
|---|
| 27 |
{ |
|---|
| 28 |
return m_ssName; |
|---|
| 29 |
} |
|---|
| 30 |
|
|---|
| 31 |
private: |
|---|
| 32 |
SSNAME m_ssName; |
|---|
| 33 |
SSNamesCache* m_pNamesService; |
|---|
| 34 |
}; |
|---|
| 35 |
|
|---|
| 36 |
std::ostream& operator<<(std::ostream& os, const SSName& ssname); |
|---|
| 37 |
|
|---|
| 38 |
#endif // !defined(AFX_SSNAME_H__6602C07F_65ED_4FD7_A730_6D416805378A__INCLUDED_) |
|---|