コード例 #1
0
void
Ice::SlicedData::__addObject(IceInternal::GCCountMap& m)
{
    IceInternal::GCCountMap::iterator pos = m.find(this);
    if(pos == m.end())
    {
        m[this] = 1;
    }
    else
    {
        ++pos->second;
    }
}
コード例 #2
0
void
Ice::UnknownSlicedObject::__addObject(IceInternal::GCCountMap& _c)
{
    IceInternal::GCCountMap::iterator pos = _c.find(this);
    if(pos == _c.end())
    {
        _c[this] = 1;
    }
    else
    {
        ++pos->second;
    }
}
コード例 #3
0
ファイル: test.cpp プロジェクト: mvxi/icetest
void
level1::level2::vivi::__addObject(::IceInternal::GCCountMap& _c)
{
    ::IceInternal::GCCountMap::iterator pos = _c.find(this);
    if(pos == _c.end())
    {
        _c[this] = 1;
    }
    else
    {
        ++pos->second;
    }
}