This simply constrained (value‐semantic) attribute class characterizes configuration parameters for a file cleaner.

Synopsis

Declared in <balb_filecleanerconfiguration.h>

class FileCleanerConfiguration;

Description

See the for information on the class attributes. Note that the class invariants are identically the constraints on the individual attributes.

This class: * supports a complete set of value‐semantic operations

  • except for bdex serialization * is exception‐neutral (agnostic) * is alias‐safe * is const thread‐safe For terminology see bsldoc_glossary.

Member Functions

Name

Description

FileCleanerConfiguration [constructor]

Constructors

operator=

Assign to this object the in‐core value of the specified rhs.

filePattern

Return a const reference to the file pattern attribute of this object.

maxFileAge

Return the maximum file age attribute of this object.

maxNumFiles

Return the maximum number of files to keep attribute of this object.

minNumFiles

Return the minimum number of files to keep attribute of this object.

print

Format this object to the specified output stream.

setFilePattern

Set the file pattern attribute of this object to the specified filePattern.

setMaxFileAge

Set the maximum file age attribute of this object to the specified maxAge.

setMaxNumFiles

Set the maximum number of files to keep to the specified maxNumFiles.

setMinNumFiles

Set the minimum number of files to keep to the specified minNumFiles.

operator BloombergLP::bslmf::NestedTraitDeclaration<FileCleanerConfiguration, UsesBslmaAllocator>

Declare that this type uses a bslma allocator.

Friends

Name

Description

BloombergLP::balb::operator==

Return true if the specified lhs and rhs have the same value.

Non-Member Functions

Name

Description

operator!=

Return true if the specified lhs and rhs do not have the same value.

Created with MrDocs