libdigidocpp
digidoc::SignerRole Class Reference

#include <SignatureAttributes.h>

Collaboration diagram for digidoc::SignerRole:
Collaboration graph

Public Types

typedef std::vector< std::string > TRoles

Public Member Functions

 SignerRole ()
 SignerRole (const std::string &claimedRole)
bool isEmpty ()

Public Attributes

std::vector< std::string > claimedRoles

Detailed Description

Definition at line 42 of file SignatureAttributes.h.

Member Typedef Documentation

typedef std::vector<std::string> digidoc::SignerRole::TRoles

Definition at line 49 of file SignatureAttributes.h.

Constructor & Destructor Documentation

digidoc::SignerRole::SignerRole ( )

Initialized empty SignerRole

Definition at line 59 of file SignatureAttributes.cpp.

digidoc::SignerRole::SignerRole ( const std::string &  claimedRole)

Initializes SignerRole with one ClaimedRole item.

Parameters
claimedRoleclaimed role of the signer.

Definition at line 68 of file SignatureAttributes.cpp.

Member Function Documentation

bool digidoc::SignerRole::isEmpty ( )
Returns
returns whether the SignerRole is initialized or not. If the method returns true the SignerRole is not set.

Definition at line 77 of file SignatureAttributes.cpp.

Referenced by open().

Here is the caller graph for this function:

Member Data Documentation

std::vector<std::string> digidoc::SignerRole::claimedRoles

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