Boost logo

Boost Users :

From: Prashant Gupta (gupthap_at_[hidden])
Date: 2008-01-31 22:39:57


>
> I am trying to port the following VC8 code to boost. I need to know what
> are the equivalent methods in boost:: namespace for the following:
> 1) m_nNumGroups data memeber of class CAtlREMatchContext
> 2) GetMatch( ) method of class CAtlREMatchContext
>
> I have gone through the boost documentation but could not suceed.
>
> for (UInt32 ulGroupIndex = 0; ulGroupIndex <
> atlMatchContext.m_uNumGroups; ++ulGroupIndex)
> {
> const CAtlREMatchContext<>::RECHAR* pszStart = 0;
> const CAtlREMatchContext<>::RECHAR* pszEnd = 0;
> atlMatchContext.GetMatch(ulGroupIndex, &pszStart,
> &pszEnd);
> int nLength = static_cast<int>(pszEnd - pszStart);
> strTemp = pszStart;
> strTemp = strTemp.substr(nLength);
> AcMs::trimString(strTemp, true, true);
> switch(ulGroupIndex)
> {
> case MsV7ImgMgrImgIndexType::kViewNo:
>



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net