mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.5 KiB
51 lines
1.5 KiB
//------------------------------------------------------------------------------
|
|
//
|
|
// File: procobj.inl
|
|
// Copyright (C) 1994-1997 Microsoft Corporation
|
|
// All rights reserved.
|
|
//
|
|
// Purpose:
|
|
// Inline implementations of CProcessObj and derived classes.
|
|
//
|
|
// YOU SHOULD NOT NEED TO CHANGE THIS FILE. However, the CProcessObj family
|
|
// is used extensively in a typical parser implementation. See procobj.h for
|
|
// more information.
|
|
//
|
|
// Owner:
|
|
//
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
//
|
|
// Return a localizable-item handler.
|
|
//------------------------------------------------------------------------------
|
|
inline CLocItemHandler &
|
|
CProcessObj::GetHandler()
|
|
{
|
|
ASSERT_VALID(&m_handler);
|
|
|
|
return m_handler;
|
|
} // end of CProcessObj::GetHandler()
|
|
|
|
|
|
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
//
|
|
// Get language ID object for source language.
|
|
//------------------------------------------------------------------------------
|
|
inline const CLocLangId &
|
|
CProcessObj::GetSrcLangID()
|
|
{
|
|
return m_langIdSrc;
|
|
} // end of CProcessObj::GetSrcLangID()
|
|
|
|
|
|
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
//
|
|
// Get language ID object for target language (generating only).
|
|
//------------------------------------------------------------------------------
|
|
inline const CLocLangId &
|
|
CProcessObjGen::GetTgtLangID()
|
|
{
|
|
return m_langIdTgt;
|
|
} // end of CProcessObjGen::GetTgtLangID()
|