[prev in list] [next in list] [prev in thread] [next in thread] 

List:       insight-users
Subject:    [Insight-users] I am confused by the scope resolution operator
From:       "#ZHAO ZHEEN#" <kurtzhao () pmail ! ntu ! edu ! sg>
Date:       2003-12-24 5:59:30
Message-ID: 1053947AAA70F54AA4ECD7887A3A6D89DD2A6B () mail03 ! student ! main ! ntu ! edu ! sg
[Download RAW message or body]

Hi,

I am confused by the way the scope resolution operator used in ITK.

take an example:

typedefitk::ImageFileReader<ImageType> ReaderType;
ReaderType::Pointer reader=ReaderType::New();

In the second line, the class name Pointer is behind the scope operator. 
But, from msdn,

class-name :: identifier
namespace :: identifier
,The identifier can be a variable or a function.

in our example, Pointer is not a variable or function, am I right?
or the operator has been overloaded?

Also, ITK:Pointer, what the ITK means? a class name?

I know the problem is realy entry level, but it confuse me much.
would anybody help me?

Merry Christmas!

Regards
Kurt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic