Back to index

nordugrid-arc-nox  1.1.0~rc6
Public Member Functions | Public Attributes
SRMFileInfo Class Reference

Info about a particular entry in the SRM info file. More...

#include <SRMInfo.h>

Collaboration diagram for SRMFileInfo:
Collaboration graph

List of all members.

Public Member Functions

enum SRMURL::SRM_URL_VERSION bool operator== (SRMURL srm_url)
std::string versionString () const

Public Attributes

std::string host
int port
std::string protocol

Detailed Description

Info about a particular entry in the SRM info file.

Definition at line 11 of file SRMInfo.h.

Member Function Documentation

bool SRMFileInfo::operator== ( SRMURL  srm_url) [abstract]

Definition at line 15 of file SRMInfo.cpp.

  const std::string proto_val = srm_url.Option("protocol");
  if (host == srm_url.Host() &&
      (!srm_url.PortDefined() || port == srm_url.Port()) &&
      (proto_val.empty() || ((protocol == "gssapi") == srm_url.GSSAPI())) &&
      version == srm_url.SRMVersion())
    return true;
  return false;

Here is the call graph for this function:

std::string SRMFileInfo::versionString ( ) const

Definition at line 25 of file SRMInfo.cpp.

  switch (version) {
      return "1";
    }; break;
    case SRMURL::SRM_URL_VERSION_2_2: {
      return "2.2";
    }; break;
    default: {
      return "";
  return "";

Here is the caller graph for this function:

Member Data Documentation

std::string SRMFileInfo::host

Definition at line 13 of file SRMInfo.h.

Definition at line 14 of file SRMInfo.h.

std::string SRMFileInfo::protocol

Definition at line 15 of file SRMInfo.h.

The documentation for this class was generated from the following files: