# Path: nptdms/common.py
# class ObjectPath(object):
#     def __init__(self, *path_components):
#     def is_root(self):
#     def is_group(self):
#     def is_channel(self):
#     def group_path(self):
#     def from_string(path_string):
#     def __str__(self):
# def _path_components(path):
# def _components_to_path(group, channel):


    from collections import OrderedDict
from datetime import datetime
from io import UnsupportedOperation
from nptdms.common import toc_properties, ObjectPath
from nptdms.types import *
import numpy as np
        :param properties: A dictionary mapping property names to
            their value.
        """
        self.properties = properties

    @property
    def path(self):
        """The string representation of the root path
        """
        return "/"


class GroupObject(TdmsObject):
    """A TDMS object for a group
    """

    def __init__(self, group, properties=None):
        """Initialise a new GroupObject

        :param group: The name of this group.
        :param properties: A dictionary mapping property names to
            their value.
        """
        self.group = group
        self.properties = properties

    @property
    def path(self):
        """The string representation of this group's path
        """

# Path: nptdms/common.py
# class ObjectPath(object):
#     def __init__(self, *path_components):
#     def is_root(self):
#     def is_group(self):
#     def is_channel(self):
#     def group_path(self):
#     def from_string(path_string):
#     def __str__(self):
# def _path_components(path):
# def _components_to_path(group, channel):


# Path: nptdms/writer.py
    from collections import OrderedDict
from datetime import datetime
from io import UnsupportedOperation
from nptdms.common import toc_properties, ObjectPath
from nptdms.types import *
import numpy as np

        :param properties: A dictionary mapping property names to
            their value.
        """
        self.properties = properties

    @property
    def path(self):
        """The string representation of the root path
        """
        return "/"


class GroupObject(TdmsObject):
    """A TDMS object for a group
    """

    def __init__(self, group, properties=None):
        """Initialise a new GroupObject

        :param group: The name of this group.
        :param properties: A dictionary mapping property names to
            their value.
        """
        self.group = group
        self.properties = properties

    @property
    def path(self):
        """The string representation of this group's path
        """

        return str(ObjectPath(self.group))