WebCorrectFlags Class Reference

A set of flags that define how a URL should be corrected. More...

#include <webflags.h>

Inheritance diagram for WebCorrectFlags:

CCObject SimpleCCObject List of all members.

Public Member Functions

BOOL CorrectBackslashes ()
BOOL CorrectLocalFilenames ()
BOOL CorrectNetscapeFilenames ()
BOOL CorrectFTP ()
BOOL CorrectHTTP ()
BOOL CorrectMailto ()
BOOL CorrectNoSlash ()
BOOL CorrectNoNetLoc ()
void SetCorrectBackslashes (BOOL fNewValue)
void SetCorrectLocalFilemames (BOOL fNewValue)
void SetCorrectNetscapeFilemames (BOOL fNewValue)
void SetCorrectFTP (BOOL fNewValue)
void SetCorrectHTTP (BOOL fNewValue)
void SetCorrectMailto (BOOL fNewValue)
void SetCorrectNoSlash (BOOL fNewValue)
void SetCorrectNoNetLoc (BOOL fNewValue)
WebCorrectFlagsoperator= (const WebCorrectFlags &)
 Assignment operator.
 WebCorrectFlags (const WebCorrectFlags &InFlags)
 Copy Constructor for the WebCorrectFlags class.
 ~WebCorrectFlags ()
 Destructor.
 WebCorrectFlags ()
 WebCorrectFlags (BOOL fBackslashes, BOOL fLocalFilenames, BOOL fNetscapeFilenames, BOOL fFTP, BOOL fHTTP, BOOL fMailto, BOOL fNoSlash, BOOL fNoNetLoc)
void SetForURLImport ()
void SetForWebAddressDialog ()

Protected Attributes

BOOL m_fBackslashes
BOOL m_fLocalFilenames
BOOL m_fNetscapeFilenames
BOOL m_fFTP
BOOL m_fHTTP
BOOL m_fMailto
BOOL m_fNoSlash
BOOL m_fNoNetLoc

Private Member Functions

 CC_DECLARE_DYNAMIC (WebCorrectFlags)

Detailed Description

A set of flags that define how a URL should be corrected.

Author:
Graham_Walmsley (Xara Group Ltd) <camelotdev@xara.com>
Date:
9/6/97
For example, should "www.xara.com" be corrected to "http://www.xara.com/"? Should "d:\dir1\file.htm" be corrected to "file://d|/dir1/file.htm"? And so on...

Definition at line 116 of file webflags.h.


Constructor & Destructor Documentation

WebCorrectFlags::WebCorrectFlags const WebCorrectFlags wcfNew  ) 
 

Copy Constructor for the WebCorrectFlags class.

Author:
Graham_Walmsley (Xara Group Ltd) <camelotdev@xara.com>
Date:
17/9/96
Parameters:
wcfNew [INPUTS]
None [OUTPUTS]
Returns:
None

Errors: None

Definition at line 123 of file webflags.cpp.

00124 {
00125     m_fBackslashes=wcfNew.m_fBackslashes;
00126     m_fLocalFilenames=wcfNew.m_fLocalFilenames;
00127     m_fNetscapeFilenames=wcfNew.m_fNetscapeFilenames;
00128     m_fFTP=wcfNew.m_fFTP;
00129     m_fHTTP=wcfNew.m_fHTTP;
00130     m_fMailto=wcfNew.m_fMailto;
00131     m_fNoSlash=wcfNew.m_fNoSlash;
00132     m_fNoNetLoc=wcfNew.m_fNoNetLoc;
00133 }

WebCorrectFlags::~WebCorrectFlags  ) 
 

Destructor.

Author:
Graham_Walmsley (Xara Group Ltd) <camelotdev@xara.com>
Date:
17/9/96
Parameters:
- [INPUTS]
None [OUTPUTS]
Returns:
None

Errors: None

Definition at line 177 of file webflags.cpp.

00178 {
00179     //Does nothing at the moment
00180 }

WebCorrectFlags::WebCorrectFlags  )  [inline]
 

Definition at line 247 of file webflags.h.

WebCorrectFlags::WebCorrectFlags BOOL  fBackslashes,
BOOL  fLocalFilenames,
BOOL  fNetscapeFilenames,
BOOL  fFTP,
BOOL  fHTTP,
BOOL  fMailto,
BOOL  fNoSlash,
BOOL  fNoNetLoc
[inline]
 

Definition at line 259 of file webflags.h.

00260     {
00261         m_fBackslashes=fBackslashes;
00262         m_fLocalFilenames=fLocalFilenames;
00263         m_fNetscapeFilenames=fNetscapeFilenames;
00264         m_fFTP=fFTP;
00265         m_fHTTP=fHTTP;
00266         m_fMailto=fMailto;
00267         m_fNoSlash=fNoSlash;
00268         m_fNoNetLoc=fNoNetLoc;
00269     };


Member Function Documentation

WebCorrectFlags::CC_DECLARE_DYNAMIC WebCorrectFlags   )  [private]
 

BOOL WebCorrectFlags::CorrectBackslashes  )  [inline]
 

Definition at line 157 of file webflags.h.

00158     {
00159         return m_fBackslashes;
00160     }

BOOL WebCorrectFlags::CorrectFTP  )  [inline]
 

Definition at line 172 of file webflags.h.

00173     {
00174         return m_fFTP;
00175     }

BOOL WebCorrectFlags::CorrectHTTP  )  [inline]
 

Definition at line 177 of file webflags.h.

00178     {
00179         return m_fHTTP;
00180     }

BOOL WebCorrectFlags::CorrectLocalFilenames  )  [inline]
 

Definition at line 162 of file webflags.h.

00163     {
00164         return m_fLocalFilenames;
00165     }

BOOL WebCorrectFlags::CorrectMailto  )  [inline]
 

Definition at line 182 of file webflags.h.

00183     {
00184         return m_fMailto;
00185     }

BOOL WebCorrectFlags::CorrectNetscapeFilenames  )  [inline]
 

Definition at line 167 of file webflags.h.

00168     {
00169         return m_fNetscapeFilenames;
00170     }

BOOL WebCorrectFlags::CorrectNoNetLoc  )  [inline]
 

Definition at line 192 of file webflags.h.

00193     {
00194         return m_fNoNetLoc;
00195     }

BOOL WebCorrectFlags::CorrectNoSlash  )  [inline]
 

Definition at line 187 of file webflags.h.

00188     {
00189         return m_fNoSlash;
00190     }

WebCorrectFlags & WebCorrectFlags::operator= const WebCorrectFlags wcfNew  ) 
 

Assignment operator.

Author:
Graham_Walmsley (Xara Group Ltd) <camelotdev@xara.com>
Date:
17/9/96
Parameters:
wcfNew [INPUTS]
None [OUTPUTS]
Returns:
None

Errors: None

Definition at line 149 of file webflags.cpp.

00150 {
00151     m_fBackslashes=wcfNew.m_fBackslashes;
00152     m_fLocalFilenames=wcfNew.m_fLocalFilenames;
00153     m_fNetscapeFilenames=wcfNew.m_fNetscapeFilenames;
00154     m_fFTP=wcfNew.m_fFTP;
00155     m_fHTTP=wcfNew.m_fHTTP;
00156     m_fMailto=wcfNew.m_fMailto;
00157     m_fNoSlash=wcfNew.m_fNoSlash;
00158     m_fNoNetLoc=wcfNew.m_fNoNetLoc;
00159 
00160     return *this;
00161 }

void WebCorrectFlags::SetCorrectBackslashes BOOL  fNewValue  )  [inline]
 

Definition at line 198 of file webflags.h.

00199     {
00200         m_fBackslashes=fNewValue;
00201     }

void WebCorrectFlags::SetCorrectFTP BOOL  fNewValue  )  [inline]
 

Definition at line 213 of file webflags.h.

00214     {
00215         m_fFTP=fNewValue;
00216     }

void WebCorrectFlags::SetCorrectHTTP BOOL  fNewValue  )  [inline]
 

Definition at line 218 of file webflags.h.

00219     {
00220         m_fHTTP=fNewValue;
00221     }

void WebCorrectFlags::SetCorrectLocalFilemames BOOL  fNewValue  )  [inline]
 

Definition at line 203 of file webflags.h.

00204     {
00205         m_fLocalFilenames=fNewValue;
00206     }

void WebCorrectFlags::SetCorrectMailto BOOL  fNewValue  )  [inline]
 

Definition at line 223 of file webflags.h.

00224     {
00225         m_fMailto=fNewValue;
00226     }

void WebCorrectFlags::SetCorrectNetscapeFilemames BOOL  fNewValue  )  [inline]
 

Definition at line 208 of file webflags.h.

00209     {
00210         m_fNetscapeFilenames=fNewValue;
00211     }

void WebCorrectFlags::SetCorrectNoNetLoc BOOL  fNewValue  )  [inline]
 

Definition at line 233 of file webflags.h.

00234     {
00235         m_fNoNetLoc=fNewValue;
00236     }

void WebCorrectFlags::SetCorrectNoSlash BOOL  fNewValue  )  [inline]
 

Definition at line 228 of file webflags.h.

00229     {
00230         m_fNoSlash=fNewValue;
00231     }

void WebCorrectFlags::SetForURLImport  )  [inline]
 

Definition at line 273 of file webflags.h.

00274     {
00275         m_fBackslashes=TRUE;
00276         m_fLocalFilenames=TRUE;
00277         m_fNetscapeFilenames=TRUE;
00278         m_fFTP=FALSE;
00279         m_fHTTP=TRUE;
00280         m_fMailto=FALSE;
00281         m_fNoSlash=TRUE;
00282         m_fNoNetLoc=TRUE;
00283     }

void WebCorrectFlags::SetForWebAddressDialog  )  [inline]
 

Definition at line 285 of file webflags.h.

00286     {
00287         m_fBackslashes=TRUE;
00288         m_fLocalFilenames=TRUE;
00289         m_fNetscapeFilenames=TRUE;
00290         m_fFTP=TRUE;
00291         m_fHTTP=TRUE;
00292         m_fMailto=TRUE;
00293         m_fNoSlash=TRUE;
00294         m_fNoNetLoc=TRUE;
00295     }


Member Data Documentation

BOOL WebCorrectFlags::m_fBackslashes [protected]
 

Definition at line 122 of file webflags.h.

BOOL WebCorrectFlags::m_fFTP [protected]
 

Definition at line 136 of file webflags.h.

BOOL WebCorrectFlags::m_fHTTP [protected]
 

Definition at line 139 of file webflags.h.

BOOL WebCorrectFlags::m_fLocalFilenames [protected]
 

Definition at line 124 of file webflags.h.

BOOL WebCorrectFlags::m_fMailto [protected]
 

Definition at line 142 of file webflags.h.

BOOL WebCorrectFlags::m_fNetscapeFilenames [protected]
 

Definition at line 128 of file webflags.h.

BOOL WebCorrectFlags::m_fNoNetLoc [protected]
 

Definition at line 150 of file webflags.h.

BOOL WebCorrectFlags::m_fNoSlash [protected]
 

Definition at line 145 of file webflags.h.


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 04:03:07 2007 for Camelot by  doxygen 1.4.4