libzypp  13.10.6
zypp::repo::RepoType Struct Reference

Repository type enumeration. More...

#include <RepoType.h>

Public Types

enum  Type { NONE_e, RPMMD_e, YAST2_e, RPMPLAINDIR_e }
 

Public Member Functions

 RepoType ()
 
 RepoType (Type type)
 
 RepoType (const std::string &strval_r)
 
Type toEnum () const
 
RepoType::Type parse (const std::string &strval_r)
 
const std::string & asString () const
 

Public Attributes

Type _type
 

Static Public Attributes

static const RepoType RPMMD
 
static const RepoType YAST2
 
static const RepoType RPMPLAINDIR
 
static const RepoType NONE
 

Detailed Description

Repository type enumeration.

Repositories can be from varous types ...

Definition at line 27 of file RepoType.h.

Member Enumeration Documentation

Enumerator
NONE_e 
RPMMD_e 
YAST2_e 
RPMPLAINDIR_e 

Definition at line 34 of file RepoType.h.

Constructor & Destructor Documentation

zypp::repo::RepoType::RepoType ( )
inline

Definition at line 42 of file RepoType.h.

zypp::repo::RepoType::RepoType ( Type  type)
inline

Definition at line 44 of file RepoType.h.

zypp::repo::RepoType::RepoType ( const std::string &  strval_r)
explicit

Definition at line 42 of file RepoType.cc.

Member Function Documentation

Type zypp::repo::RepoType::toEnum ( ) const
inline

Definition at line 48 of file RepoType.h.

RepoType::Type zypp::repo::RepoType::parse ( const std::string &  strval_r)

Definition at line 46 of file RepoType.cc.

const std::string & zypp::repo::RepoType::asString ( ) const

Definition at line 56 of file RepoType.cc.

Member Data Documentation

const RepoType zypp::repo::RepoType::RPMMD
static

Definition at line 29 of file RepoType.h.

const RepoType zypp::repo::RepoType::YAST2
static

Definition at line 30 of file RepoType.h.

const RepoType zypp::repo::RepoType::RPMPLAINDIR
static

Definition at line 31 of file RepoType.h.

const RepoType zypp::repo::RepoType::NONE
static

Definition at line 32 of file RepoType.h.

Type zypp::repo::RepoType::_type

Definition at line 54 of file RepoType.h.


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