Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > General Computer Discussion > Software > Class member typedef std::map<> access

Thread Tools

Class member typedef std::map<> access

MisterStickabee MisterStickabee is offline
Junior Member
Join Date: Jul 2010
Posts: 1
I'm picking up a project that makes extensive use of STL and I'd learning on the fly. Sadly, that's not going nearly as smoothly as I'd have hoped. So, without further ado, here's my situation:

I've been tasked with creating a class that will encapsulate an existing map and some device flags as follows:

class DeltaPageList


typedef std::map<DeltaPanel::CmdViewModes, DeltaPanel::Page *> CmdPageList;

struct DeltaFlagList
	bool	m_flagMissionId;
	bool	m_flagSetTime;
	bool	m_flagMACAddr;
Now I am attempting to set the value of the member typedef in the implementation of another function to that of the CmdPageList from said non-member function. Using VS2k10, I'm able to create an instance of the DeltaPageList class, but only the member functions are visible to IntelliSense. So, my question is:

Is there a different way that I need to access this member typedef? Am I just way off base with this scheme?

Any help would be much appreciated.


Last edited by MisterStickabee; 07-14-2010 at 07:05 PM..
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
CRTP-problem: How can the base class typedef a derived class' typedef? oor C++ 0 05-20-2008 12:39 PM
Nested Class, Member Class, Inner Class, Local Class, Anonymous Class E11 Java 1 10-12-2005 03:34 PM
Can Derived class static member access protected member from base class? Siemel Naran C++ 4 01-12-2005 06:46 PM
typedef'd return type of a template class member function: take 2 Pete Becker C++ 5 11-19-2004 12:50 AM
typedef'd return type for a template class member function C++ 3 11-19-2004 12:10 AM